Current time: 11-16-2024, 12:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
ispcpphptemp
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #7
RE: ispcpphptemp
I don't know what else could be causing this. Can you confirm that, when manually executing
Code:
for f in "/php4/php.ini /php5/php.ini"; do echo $f; done
you get
Code:
/php4/php.ini /php5/php.ini
instead of
Code:
/php4/php.ini
/php5/php.ini
please?

Anyways, take into account that this script stats *all* files inside each and every customer phptmp folder. These are a bunch of files/folders to stat in your heavily loaded server, so if they are stored in an NFS server this is may also cause some slowness.

Thus, unless you really need temporary files stored in the server for some reason (load balancing?), I would try to offload such files to a local disk. You should be able to do this by:

1. Moving all the phptmp folders to another (local disk) location
2. Symlinking the old location to the newer one
3. Ensuring that php lets users access this folder. I'm not sure about this, but you may have to modify customer's php.ini to allow the new (local disk) location in "open_basedir".

Further, as a side effect your websites should also work faster, because now php sessions won't be stored in the NFS server but in the local disk Wink Whatever you decide to try... test first! Wink
10-22-2009 04:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ispcpphptemp - givre - 10-20-2009, 05:11 AM
RE: ispcpphptemp - kilburn - 10-20-2009, 05:26 PM
RE: ispcpphptemp - givre - 10-20-2009, 08:42 PM
RE: ispcpphptemp - givre - 10-21-2009, 04:22 AM
RE: ispcpphptemp - kilburn - 10-21-2009, 05:55 PM
RE: ispcpphptemp - givre - 10-22-2009, 06:35 AM
RE: ispcpphptemp - kilburn - 10-22-2009 04:47 PM
RE: ispcpphptemp - givre - 10-22-2009, 05:21 PM
RE: ispcpphptemp - kilburn - 10-22-2009, 08:23 PM
RE: ispcpphptemp - givre - 10-22-2009, 08:37 PM
RE: ispcpphptemp - kilburn - 10-22-2009, 08:40 PM
RE: ispcpphptemp - givre - 10-22-2009, 08:51 PM
RE: ispcpphptemp - givre - 10-24-2009, 09:49 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)