Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Linux file locking question (semi-off topic)

RE: Linux file locking question (semi-off topic)

From: Weaver, Walt <wweaver_at_rightnow.com>
Date: Thu, 08 Nov 2001 19:03:53 -0800
Message-ID: <F001.003C0646.20011108184521@fatcity.com>

Alright, I sent out a totally innocent question to the list and didn't get a single suggestion. I'm very disappointed in you people.

So, let me say that I figured it out without your help.

And I ain't saying what I did.

So there. PPPHHHHHHTTTTTTTTT!!!!!!!

-----Original Message-----

Sent: Thursday, November 08, 2001 10:39 AM To: Multiple recipients of list ORACLE-L

Okay, this doesn't have much to do with Oracle other than the fact that I have been assigned with figuring out why this problem is occurring.

We have a live chat application on Linux that uses Tomcat to manage its java servlets. A log is written to by the java processes, and this log can get rather large.

Problem is, these java processes keep some sort of a write lock on the log and we can't clear the log out. Using lsof, I can get a listing of the java processes holding a lock on the log. One such process looks like this:

java 32180 root 6w REG 48,1 186487009 18036 /usr/local/pkg/tomcat/tomcat-3.2.3/logs/servlet.log

Bottom line is, how can I clear these write locks without killing the java processes? Somebody must know how. I couldn't possibly the first person on earth to encounter this problem.

Thanks,
--Walt (learnin about chattr()) Weaver

  Bozeman, Montana
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Weaver, Walt
  INET: wweaver_at_rightnow.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Weaver, Walt
  INET: wweaver_at_rightnow.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Nov 08 2001 - 21:03:53 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US