From refdoc at gmx.net  Wed Sep 19 01:10:00 2012
From: refdoc at gmx.net (Peter von Kaehne)
Date: Wed, 19 Sep 2012 09:10:00 +0100
Subject: [server-admins] Space on server
Message-ID: <50597DD8.10007@gmx.net>

Hi guys,

I am not sure if I read this wrong, but I think the server is getting
down onto its knees spacewise:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              36G  5.2G   29G  16% /
tmpfs                  16G     0   16G   0% /dev/shm
/dev/sda1             938M   87M  804M  10% /boot
/dev/sda4             3.6T  197M  3.4T   1% /backup
/dev/sdb1             430G  204G  205G  50% /backupold
/dev/sdb2             416G  388G  6.8G  99% /space

sdb2 is nearly full. All our important stuff is on there.

I found the server extraordinary slow today and wonder if these two
things are related.

Peter



From dmsmith at crosswire.org  Wed Sep 19 04:07:46 2012
From: dmsmith at crosswire.org (DM Smith)
Date: Wed, 19 Sep 2012 07:07:46 -0400
Subject: [server-admins] Space on server
In-Reply-To: <50597DD8.10007@gmx.net>
References: <50597DD8.10007@gmx.net>
Message-ID: <0971EB59-EB2E-4284-B324-382734A2E6FB@crosswire.org>

I'll take a look and see what I can see. 

Cent from my fone so theer mite be tipos. ;)

On Sep 19, 2012, at 4:10 AM, Peter von Kaehne <refdoc at gmx.net> wrote:

> Hi guys,
> 
> I am not sure if I read this wrong, but I think the server is getting
> down onto its knees spacewise:
> 
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sda2              36G  5.2G   29G  16% /
> tmpfs                  16G     0   16G   0% /dev/shm
> /dev/sda1             938M   87M  804M  10% /boot
> /dev/sda4             3.6T  197M  3.4T   1% /backup
> /dev/sdb1             430G  204G  205G  50% /backupold
> /dev/sdb2             416G  388G  6.8G  99% /space
> 
> sdb2 is nearly full. All our important stuff is on there.
> 
> I found the server extraordinary slow today and wonder if these two
> things are related.
> 
> Peter
> 
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins


From scribe at crosswire.org  Wed Sep 19 04:12:26 2012
From: scribe at crosswire.org (Troy A. Griffitts)
Date: Wed, 19 Sep 2012 13:12:26 +0200
Subject: [server-admins] Space on server
In-Reply-To: <0971EB59-EB2E-4284-B324-382734A2E6FB@crosswire.org>
References: <50597DD8.10007@gmx.net>
	<0971EB59-EB2E-4284-B324-382734A2E6FB@crosswire.org>
Message-ID: <5059A89A.9090402@crosswire.org>

yeah, we ran out of space the other day.  I have a du | sort -n > du.txt 
under /space if you want to take a look, but it looks like the biggest 
offenders are the tomcat log files.  I deleted some stuff and started to 
bzip2 two of the larger log files, but it was taking forever and I 
haven't gotten back to see if it finished and delete the /space copy of 
the files.

On 09/19/2012 01:07 PM, DM Smith wrote:
> I'll take a look and see what I can see.
>
> Cent from my fone so theer mite be tipos. ;)
>
> On Sep 19, 2012, at 4:10 AM, Peter von Kaehne <refdoc at gmx.net> wrote:
>
>> Hi guys,
>>
>> I am not sure if I read this wrong, but I think the server is getting
>> down onto its knees spacewise:
>>
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/sda2              36G  5.2G   29G  16% /
>> tmpfs                  16G     0   16G   0% /dev/shm
>> /dev/sda1             938M   87M  804M  10% /boot
>> /dev/sda4             3.6T  197M  3.4T   1% /backup
>> /dev/sdb1             430G  204G  205G  50% /backupold
>> /dev/sdb2             416G  388G  6.8G  99% /space
>>
>> sdb2 is nearly full. All our important stuff is on there.
>>
>> I found the server extraordinary slow today and wonder if these two
>> things are related.
>>
>> Peter
>>
>>
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins



From dmsmith at crosswire.org  Wed Sep 19 05:39:15 2012
From: dmsmith at crosswire.org (DM Smith)
Date: Wed, 19 Sep 2012 08:39:15 -0400
Subject: [server-admins] Space on server
In-Reply-To: <5059A89A.9090402@crosswire.org>
References: <50597DD8.10007@gmx.net>
	<0971EB59-EB2E-4284-B324-382734A2E6FB@crosswire.org>
	<5059A89A.9090402@crosswire.org>
Message-ID: <2D0726C7-2184-46E9-A335-84E5D9218CC8@crosswire.org>

The logfile for sword web /home/swordweb/servers/main/logs/catalina.out-20120904  has the following:
> WARNING: Exception executing accept
> java.net.SocketException: Too many open files
>         at java.net.PlainSocketImpl.socketAccept(Native Method)
>         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
>         at java.net.ServerSocket.implAccept(ServerSocket.java:462)
>         at java.net.ServerSocket.accept(ServerSocket.java:430)
>         at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:311)
>         at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:668)
>         at org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:879)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>         at java.lang.Thread.run(Thread.java:662)


Repeated over and over starting Sep 9 7:22:27AM and continuing to the end of the file at Sept 14 4:57:15AM. I think those lines can be deleted.
Which would make this huge 119330516992 byte file much smaller.


I also found that VirtualBox has a significant footprint.

-- DM

On Sep 19, 2012, at 7:12 AM, "Troy A. Griffitts" <scribe at crosswire.org> wrote:

> yeah, we ran out of space the other day.  I have a du | sort -n > du.txt under /space if you want to take a look, but it looks like the biggest offenders are the tomcat log files.  I deleted some stuff and started to bzip2 two of the larger log files, but it was taking forever and I haven't gotten back to see if it finished and delete the /space copy of the files.
> 
> On 09/19/2012 01:07 PM, DM Smith wrote:
>> I'll take a look and see what I can see.
>> 
>> Cent from my fone so theer mite be tipos. ;)
>> 
>> On Sep 19, 2012, at 4:10 AM, Peter von Kaehne <refdoc at gmx.net> wrote:
>> 
>>> Hi guys,
>>> 
>>> I am not sure if I read this wrong, but I think the server is getting
>>> down onto its knees spacewise:
>>> 
>>> Filesystem            Size  Used Avail Use% Mounted on
>>> /dev/sda2              36G  5.2G   29G  16% /
>>> tmpfs                  16G     0   16G   0% /dev/shm
>>> /dev/sda1             938M   87M  804M  10% /boot
>>> /dev/sda4             3.6T  197M  3.4T   1% /backup
>>> /dev/sdb1             430G  204G  205G  50% /backupold
>>> /dev/sdb2             416G  388G  6.8G  99% /space
>>> 
>>> sdb2 is nearly full. All our important stuff is on there.
>>> 
>>> I found the server extraordinary slow today and wonder if these two
>>> things are related.
>>> 
>>> Peter
>>> 
>>> 
>>> _______________________________________________
>>> server-admins mailing list
>>> server-admins at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/server-admins
>> _______________________________________________
>> server-admins mailing list
>> server-admins at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/server-admins
> 
> 
> _______________________________________________
> server-admins mailing list
> server-admins at crosswire.org
> http://www.crosswire.org/mailman/listinfo/server-admins



