CF has permissions to that directory, and is able to create/remove those files on startup/shutdown just fine. It's just that sometimes there are multiple connections to the /tmp/cfserver socket for some reason or another. This is often due to the db being busy, and the connections close back down once they get the data they requested from the DB.
Once every day or two though, these connections don't close themselves when they're done with whatever they're doing (don't know why) and the connections (which are tied to apache processes) stack up until apache reaches its MaxClients setting. A CF and/or apache restart causes all the hung connections to close and the site goes back to normal, until next time... Jessica > ColdFusion creates two socket files in /tmp when it starts, and they > should be removed when ColdFusion stops. There should just be two files > relating to ColdFusion: cfserver and cfide. If you're seeing multiple > copies, that would be a problem. Did you possibly change the account > ColdFusion runs under, and it doesn't have permissions to delete files > from the /tmp directory? > > -----Original Message----- > From: Jessica Ruble-English [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 1:00 PM > To: CF-Linux > Subject: Repost: /tmp/cfserver > > > Nobody has any ideas at all? > Is there any information on what these sockets are used for? > > ---------------- > > I've got a coldfusion/apache setup that hangs > on a regular basis. Just restarting apache > and/or coldfusion fixes the problem for awhile, > but this isn't a great "solution"... > > I noticed the other day that periods of very > slow website performance coincide with a lot of > (local) open sockets to /tmp/cfserver. Normally, > these slowdowns are temporary (sometimes due to > database slowsowns, etc) and the sockets come and > go on a regular basis. But when the webserver hangs, > there are nearly as many file descriptors open as > there are apache processes, the database server is fine, > and the sockets they won't go away without a cf/apache > restart. > > Any insight into what's going on? Things I should > be looking for in the code or server conf? Is this > info even relevant at all? > > Jessica > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:14 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14 Get the mailserver that powers this list at http://www.coolfusion.com
