this is my vps package £14.99 uk pounds a month, so not to expensive. Thay are limiting numproc to 96, they didn’t make it obvious that this was a limit when I signed up, but I suppose it is my fault for not asking. I am running Tomcat and if I run out of numproc then Java will crash and
PhantomJS doesn’t work in PHP through browser (but does via command line, and even by running PHP through command line)
I’m trying to get PhantomJS to run via PHP. When I run the JavaScript file directly through the command line, it works fine. When I run php render_html.php in the command line, which just runs an exec(), it works fine. However, when I try opening this php file in the browser, it does nothing. I don’t even get anything back
In Java is there any way to share memory location to exchange some real-time small packets?
Is there any better/smarter way to put and get a boolean value from memory system, but not using any TCP/UDP nor local file system method? Where Backend does memory allocation, and Frontend reads it on the fly, none of them will be able to use TCP/UDP nor File system. Answer AFAIK, The only way to use shared memory in pure
What’s the purpose of the UD2 opcode in the Linux kernel?
I have found the following fragment in the Linux kernel (not the corresponding C code though), somewhere during the start up phase. You can clearly see the 0F 0B parts, which stand for the UD2 opcode (IDA refused to disassemble). There are some possible usages for this opcode explained here and here. In this case, however, the opcodes after this
FreeBSD executes linux file, with “ELF binary type “3” not known.” error
I followed the instructions on FreeBSD Handbook, but it doesn’t work. Any ideas? Answer Based on the “-amd64” suffix, you appear to be attempting to execute a 64-bit binary using Linux emulation… this isn’t supported according to numerous sources including e.g. this thread.
How do I know if my server has NUMA?
Hopping from Java Garbage Collection, I came across JVM settings for NUMA. Curiously I wanted to check if my CentOS server has NUMA capabilities or not. Is there a *ix command or utility that could grab this info? Answer I’m no expert here, but here’s something: Box 1, no NUMA: Box 2, some NUMA:
Using MD5 in kernel space of Linux
I am trying to use the kernel space implementation of the md5 algorithm (md5.h and md5.c). It turns out that md5.h does not declare the functions found in md5.c, so I could not simply include md5.h into my c file. I also wanted to avoid altering md5.h to declare the functions, since that could have unintended consequences. Is there any
SYSTEM: denied request 44 in Minix
I get “SYSTEM: denied request 44 from 109894” when trying to execute my own code in Minix 3.2. I typed over the code and the makefile so there could be some typos. The program compiles fine however. My c file: My makefile: Minix uses the BSD compilation platform (hence the tag). Answer Apparently running the application somewhere other than /usr/srcs/drivers
Installing scrapy (openSSL)
I’m using scrapy for couple of months now. I’ve been using it on the couple of machines and never had trouble with it. I used it on Windows xp and 7, I also used it on arch linux and never had trouble installing. Pretty much it was only pip install scrapy and done. Now I’m trying to set it up
How to know if process has truly finished with a dlclose()ed library?
I’m on Linux (Ubuntu 12.04, gcc 4.6.3), trying to bend dlopen/close to my will in order to make a plugin-based application that can reload its plugins as and when necessary (e.g. if they’re recompiled). The basic theory is simple: dlopen the plugin; use it, keeping track of all its symbols that are in use. When the time comes to reload,