Knowledgebase

Portal Home > Knowledgebase > Articles Database > shmget() failed: Invalid argument


shmget() failed: Invalid argument




Posted by sh4ka, 05-01-2008, 11:18 PM
On a RHE 5.1 + cPanel server I got this error usually from apache logs and from php -v output: Tried recompiling latest php 5.2.x and it is always happening while using Zend Optimizer. As you should know, optimizer is need for most web apps today... so it's a must. Any ideas about this error? Thanks.

Posted by sh4ka, 05-01-2008, 11:26 PM
It also happens with a different zend opt. version: Any ideas?

Posted by sh4ka, 05-02-2008, 11:21 AM
Fixed adding these values to /etc/sysct.conf kernel.shmmax = 4294967295 kernel.shmall = 268435456 Thanks.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Regional Directory (Views: 553)
Ram Problem (Views: 538)


Language:

Contact us