LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-28-2010, 10:06 AM   #1
jclj
LQ Newbie
 
Registered: Dec 2009
Location: Vermont
Posts: 5

Rep: Reputation: 0
Unhappy read_http_request failure: Connection reset by peer + NoCatSplash


I don't even know how to explain this problem.

I am using NoCatSplash, also known as Splashd to present a splash page to users before allowing access to our HotSpot Internet access.

The software runs, sometimes for a long while, sometimes for less than a minute before erroring out. Below I have included some of the messages I have seen on the screen and I have included a mail generated to root the last time the program errored.

I tried to look at line 8 in the program indicated as causing the error but the program seems to be compiled C.

I also receive a lot of error indicating that the server is out of memory and that a particular program was killed. Sometimes it is Dansguardian, sometimes Splashd.

I also have another request, can someone tell me how to get better logging so I can get more information about the errors.

Thanks
--Joe

Starting NoCatSplashMessage: My node ID is 000C2903F6DA (eth0)
Message: Read 43 config items from /usr/local/etc/nocat.conf
Message: initializing static splash page
Message: Got command /usr/local/libexec/NoCatSplash/initialize.fw from action ResetCmd
Message: starting main loop
Message: Checking peers for expiration
Message: Checking peers for expiration
Message: Checking peers for expiration
Message: Checking peers for expiration
Message: Checking peers for expiration
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Checking peers for expiration
Message: Checking peers for expiration
Message: Captured peer 10.20.0.50
Message: Splashed peer 10.20.0.50
Message: Captured peer 10.20.0.50
Message: Splashed peer 10.20.0.50
Message: Captured peer 10.20.0.50
Message: Captured peer 10.20.0.50
Message: Splashed peer 10.20.0.50
Message: Splashed peer 10.20.0.50
Message: Captured peer 10.20.0.50
Message: Splashed peer 10.20.0.50
Message: Accepting peer 10.20.0.50
Message: Got command /usr/local/libexec/NoCatSplash/access.fw permit 58:B0:35:45:BF:92 10.20.0.50 Public from action PermitCmd
Message: Captured peer 10.20.0.50
Message: Splashed peer 10.20.0.50
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86390 sec. remain
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Captured peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Splashed peer 192.168.10.10
Message: Captured peer 10.20.0.65
Message: Splashed peer 10.20.0.65
Message: Captured peer 10.20.0.65
Message: Splashed peer 10.20.0.65
Message: Captured peer 10.20.0.65
Message: Splashed peer 10.20.0.65
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86360 sec. remain
Message: Captured peer 10.20.0.65
Message: Splashed peer 10.20.0.65
Message: Captured peer 10.20.0.65
Message: Splashed peer 10.20.0.65
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86330 sec. remain
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86300 sec. remain
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86270 sec. remain
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86240 sec. remain
Message: Captured peer 10.20.0.82
Message: Splashed peer 10.20.0.82
Message: Captured peer 10.20.0.82
Message: Splashed peer 10.20.0.82
Message: Captured peer 10.20.0.82
Message: Splashed peer 10.20.0.82
Message: Checking peers for expiration
Message: Checking peer 10.20.0.50 for expire: 86210 sec. remain
Message: Accepting peer 10.20.0.82
Message: Got command /usr/local/libexec/NoCatSplash/access.fw permit 00:192:2D:66:E1 10.20.0.82 Public from action PermitCmd
Message: Checking peers for expiration
Message: Checking peer 10.20.0.82 for expire: 86381 sec. remain
Message: Checking peer 10.20.0.50 for expire: 86180 sec. remain

** WARNING **: read_http_request failure: Connection reset by peer
Message: Checking peers for expiration
Message: Checking peer 10.20.0.82 for expire: 86351 sec. remain
Message: Checking peer 10.20.0.50 for expire: 86150 sec. remain
Message: Checking peers for expiration
Message: Checking peer 10.20.0.82 for expire: 86320 sec. remain
Message: Checking peer 10.20.0.50 for expire: 86119 sec. remain
/etc/init.d/splashd: line 8: 5358 Killed /usr/local/sbin/splashd
.

Other messages I have received...

Jun 18 08:06:06 localhost kernel: Mem-info:
Jun 18 08:06:06 localhost kernel: DMA per-cpu:
Jun 18 08:06:06 localhost kernel: cpu 0 hot: high 0, batch 1 used:0
Jun 18 08:06:06 localhost kernel: cpu 0 cold: high 0, batch 1 used:0
Jun 18 08:06:06 localhost kernel: DMA32 per-cpu: empty
Jun 18 08:06:06 localhost kernel: Normal per-cpu:
Jun 18 08:06:06 localhost kernel: cpu 0 hot: high 186, batch 31 used:31
Jun 18 08:06:06 localhost kernel: cpu 0 cold: high 62, batch 15 used:55
Jun 18 08:06:06 localhost kernel: HighMem per-cpu: empty
Jun 18 08:06:06 localhost kernel: Free pages: 4876kB (0kB HighMem)
Jun 18 08:06:06 localhost kernel: Active:81299 inactive:42157 dirty:0 writeback:0 unstable:0 free:1219 slab:1847 mapped-file:848 mapped-anon:122634 pagetables:924
Jun 18 08:06:06 localhost kernel: DMA free:2072kB min:88kB low:108kB high:132kB active:5324kB inactive:4628kB present:16384kB pages_scanned:219097 all_unreclaimable? yes
Jun 18 08:06:06 localhost kernel: lowmem_reserve[]: 0 0 496 496
Jun 18 08:06:06 localhost kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 18 08:06:06 localhost kernel: lowmem_reserve[]: 0 0 496 496
Jun 18 08:06:06 localhost kernel: Normal free:2804kB min:2804kB low:3504kB high:4204kB active:319872kB inactive:164000kB present:507904kB pages_scanned:4801107 all_unreclaimable? yes
Jun 18 08:06:06 localhost kernel: lowmem_reserve[]: 0 0 0 0
Jun 18 08:06:06 localhost kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 18 08:06:06 localhost kernel: lowmem_reserve[]: 0 0 0 0
Jun 18 08:06:06 localhost kernel: DMA: 0*4kB 1*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 2072kB
Jun 18 08:06:06 localhost kernel: DMA32: empty
Jun 18 08:06:06 localhost kernel: Normal: 21*4kB 4*8kB 0*16kB 2*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2804kB
Jun 18 08:06:06 localhost kernel: HighMem: empty
Jun 18 08:06:06 localhost kernel: 1114 pagecache pages
Jun 18 08:06:06 localhost kernel: Swap cache: add 518671, delete 518419, find 1329/1919, race 0+0
Jun 18 08:06:06 localhost kernel: Free swap = 0kB
Jun 18 08:06:06 localhost kernel: Total swap = 1048568kB
Jun 18 08:06:06 localhost kernel: Free swap: 0kB
Jun 18 08:06:06 localhost kernel: 131072 pages of RAM
Jun 18 08:06:06 localhost kernel: 0 pages of HIGHMEM
Jun 18 08:06:06 localhost kernel: 2301 reserved pages
Jun 18 08:06:06 localhost kernel: 5125 pages shared
Jun 18 08:06:06 localhost kernel: 252 pages swap cached
Jun 18 08:06:06 localhost kernel: 0 pages dirty
Jun 18 08:06:06 localhost kernel: 0 pages writeback
Jun 18 08:06:06 localhost kernel: 848 pages mapped
Jun 18 08:06:06 localhost kernel: 1847 pages slab
Jun 18 08:06:06 localhost kernel: 924 pages pagetables
Jun 18 08:06:06 localhost kernel: Out of memory: Killed process 4850 (splashd).
Jun 18 08:06:06 localhost kernel: squid invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0

Thanks for the help

Last edited by jclj; 06-28-2010 at 10:23 AM. Reason: Add Information
 
Old 06-30-2010, 05:32 AM   #2
subho.d
Member
 
Registered: Jun 2010
Location: INDIA
Distribution: All Linux & Unix
Posts: 86

Rep: Reputation: 19
Please point out what exatly ur problem or error ?
 
Old 06-30-2010, 07:07 AM   #3
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: Anything NOT SystemD (ie. M$) related.
Posts: 900

Rep: Reputation: 41
I just use as many logging programs I can fit on my system..

I just found out that bootlogd will log certain events that others won't..
 
Old 07-01-2010, 08:44 AM   #4
jclj
LQ Newbie
 
Registered: Dec 2009
Location: Vermont
Posts: 5

Original Poster
Rep: Reputation: 0
My exact senerio is this

I am running Redhat Centos 5.4 Final virtual machine on a VMWARE ESX server.

The purpose of the Redhat server is to use the NoCatSplash (splashd) software to capture wireless clients and present them with a splash page before allowing them access to our hotspot.

The software crashes with out of memory messages like the ones shown above and recently I received a can't fork error message. These errors almost always result in killing the splash software.

Recently I read something about VMWARE servers hosting linux VMs and a possible problem allocating memory. A module called hugemem has been mentioned as a resolution but as of now I have not been able to find out enough about the module or able to locate it for installation.
 
  


Reply

Tags
error, kills, memory, program


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sslReadServer: FD 72: read failure: (104) Connection reset by peer Niceman2005 Linux - Software 2 02-03-2011 08:37 AM
Connection reset by peer manojg Linux - Networking 6 11-29-2008 12:43 AM
Connection reset by peer: why? stupendus Linux - Software 5 08-07-2007 12:50 AM
Connection reset by peer tkt Linux - Newbie 1 06-22-2005 10:48 AM
Connection Reset by peer lynden Linux - Networking 2 10-13-2002 09:14 AM


All times are GMT -5. The time now is 12:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration