[server-admins] Space on server

DM Smith dmsmith at crosswire.org
Wed Sep 19 05:39:15 MST 2012


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




More information about the server-admins mailing list