[JDEV] kill -9 wipes out contents of user.xml file for those logged in at the time

Jason Meyering JMeyering at jabber.com
Tue Mar 6 17:36:01 CST 2001


I was the one who posted the problem about xml files getting corrupted, but
I don't necessarily agree that a -9 is the cause.  I've seen the same user
file work at one point, be unable to log in later, and then find that it's
corrupted all within one life-cycle of a server (no kills issued during that
time period--also, FWIW, I usually issue SIGTERMs to the server instead of
SIGKILLs).    It seems like our server starts to choke on user files when
usage gets very high (like when a `netstat -an |grep 5222 |wc -l` shows
around 1000 connections).  I've noticed that when usage gets that high,
clients have trouble logging on, and that's when .xml files start getting
trashed.  I still don't know a lot of details about what's happening--it's
usually a very low percentage of users that get trashed, but it happens
nearly every time we get that high of traffic.  What kind of usage are you
seeing on your server?  Anyone else have any insights? 

J

-----Original Message-----
From: Tim Ferguson [mailto:tim.ferguson at cw.com]
Sent: Tuesday, March 06, 2001 2:32 PM
To: jdev at jabber.org
Subject: [JDEV] kill -9 wipes out contents of user.xml file for those logged
in at the time


Hello,
 
I remember seeing a post about someone seeing this problem, but I don't ever
remember seeing any resolution.  Our server was just killed by someone with
a kill -9, which blew away the contents of the users files of people that
were logged in at the time.  The files are still there but they are empty,
could this be an avoidable outcome of kill -9?
 
Tim Ferguson
 
 




More information about the JDev mailing list