php-cgi -v
PHP 5.2.11-pl1-gentoo (cgi-fcgi) (built: Dec 21 2009 09:10:29) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
System info
dev-lang/php-5.2.11-r1 gentoo 10.1
Update: I’ just compiled PHP with the minimal USE flags turned on. Seems better now. Let’s wait a bit longer.
Answer
Well php does this sometimes, you might want to set PHP_FCGI_MAX_REQUESTS environment variable, which will force php to kill itself after some number of requests and being reexecuted, so the problem won’t appear.
Attribution
Source : Link , Question Author : Cheng , Answer Author : Michal Čihař