Skip to Content.
Sympa Menu

freetds - Bug Report: File handles to log file not closed correctly

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Casey Allen Shobe <cshobe AT secureworks.net>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Bug Report: File handles to log file not closed correctly
  • Date: Thu, 23 May 2002 19:53:50 -0400


Aha! I figured out why my webserver needed restarted every few days.

I had in freetds.conf:
loglevel=10
dumpfile=/tmp/freetds.log
(or something like that)

I used lsof and saw that every httpd process had hundreds of open sockets to
/tmp/freetds.log. I removed those lines from freetds.conf, restarted apache,
and all is well.

--
Casey Allen Shobe / Network Security Analyst & PHP Developer
SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144
cshobe AT secureworks.net / http://www.secureworks.net
Content is my own and does not necessarily represent my company.



  • Bug Report: File handles to log file not closed correctly, Casey Allen Shobe, 05/23/2002

Archive powered by MHonArc 2.6.24.

Top of Page