This relates to semaphores on your system (you’ve run out). Run the following to clear them out: ipcs | grep apache | awk ‘{print $2}’ > sem.txt for i in `cat sem.txt`; do { ipcrm -s $i; }; done; For cPanel servers : ipcs | grep nobody | awk ‘{print $2}’ > sem.txt for i… Continue reading semget: No space left on device
Category: Basics
What is /dev/shm and its practical usage ?
What is /dev/shm and its practical usage ? /dev/shm is nothing but implementation of traditional shared memory concept. It is an efficient means of passing data between programs. One program will create a memory portion, which other processes (if permitted) can access. This will result into speeding up things on Linux. If you type mount… Continue reading What is /dev/shm and its practical usage ?
Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php
Php is setup is to limit memory usage per process. If you require more, this limit can be increased. Edit /usr/local/lib/php.ini If you are unsure about the php.ini path, You can find your server php.ini using command : php -i | grep php.ini Configuration File (php.ini) Path => /usr/local/lib Loaded Configuration File => /usr/local/lib/php.ini and… Continue reading Fatal error: Allowed memory size of 123456 bytes exhausted (tried to allocate 234567 bytes) in /path/file.php