- From: Mikhail Grouchinski <mgrouch@usa.net>
- Date: 29 Dec 99 16:12:02 EST
- To: www-lib@w3.org
Hello all, I'm testing my application which uses libwww. I have a libwww timer set to 30 sec. This timer generates requests every 30 sec to the same URL. Everything works fine for a while. After some time (several hours) libwww stops calling request callback registered in HTNet object. It still generates requests every 30 sec but these requests stucks in libwww. It happens only when I test it against apache web server. The same test runs fine when URL points to an old Netscape Enterprise Server (I had 15 days uptime). I tried this test with apache several times with the same effect. Libwww suddenly stops returning requests after some (quite long, several hours or days) period of time. I'm able to turn tracing on at the time it is happening. Here is the log... Any help is greatly appreciated... Memory Free. 400661a8 Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 20 s, 63000 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 20 s, 63000 microsecs Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 0 s, 10000 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 0 s, 10000 microsecs Memory Free. 4002aea8 Timer....... Found timer 4002ae88 with callback 40005762, context 4002acd0, and relative timeout 30000 Timer....... Dispatch timer 4002ae88 Request..... Created 40066670 HTSimplify.. `http://siug001:8080' into ............ `http://siug001:8080' Anchor...... 400667b0 with address `http://siug001:8080' created ChunkStream. Chunk 400661a8 created with max size 0 HTAccess.... Accessing document http://siug001:8080 Memory Free. 40066890 Net Before.. calling 400057aa (request 40066670, context 00000000) Net Before.. calling 7afde5b2 (request 40066670, context 00000000) PEP Engine.. Looking for info on `http://siug001:8080' Memory Free. 400668d8 Memory Free. 400668b8 Memory Free. 40066890 URL Tree.... did NOT find `w3c-pep' Memory Free. 400668b8 PEP Engine.. No information Net Before.. calling 7afdeaea (request 40066670, context 00000000) Auth Engine. Looking up `http://siug001:8080' Memory Free. 400668f8 Memory Free. 400668d8 Memory Free. 400668b0 URL Tree.... did NOT find `w3c-AA' Memory Free. 400668d8 Auth Engine. No information Memory Free. 40066890 Credentials. verified Net Before.. calling 7afdeaf2 (request 40066670, context 00000000) Check rules. for `http://siug001:8080' Memory Free. 40066890 Memory Free. 400668f8 Memory Free. 40066890 Memory Free. 400668d0 Memory Free. 40066890 Net Object.. 400668d0 created with hash 0 Net Object.. starting request 40066670 (retry=1) with net object 400668d0 HTTP........ Looking for `http://siug001:8080' Memory Free. 400668a0 Memory Free. 40066980 Memory Free. 40066958 HTHost parse Looking up `siug001' on port 8080 Host info... REUSING CHANNEL 40032b88 Memory Free. 40066980 Host info... Added Net 400668d0 (request 40066670) as pending on Host 40032788, 2 requests made, 1 requests in pipe, 154 pending HTDoConnect. Pending... Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 30 s, 0 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 30 s, 0 microsecs Memory Free. 4002aea8 Timer....... Found timer 4002ae88 with callback 40005762, context 4002acd0, and relative timeout 30000 Timer....... Dispatch timer 4002ae88 Request..... Created 40066a00 HTSimplify.. `http://siug001:8080' into ............ `http://siug001:8080' Anchor...... 40066b40 with address `http://siug001:8080' created ChunkStream. Chunk 40066c10 created with max size 0 HTAccess.... Accessing document http://siug001:8080 Memory Free. 40066c38 Net Before.. calling 400057aa (request 40066a00, context 00000000) Net Before.. calling 7afde5b2 (request 40066a00, context 00000000) PEP Engine.. Looking for info on `http://siug001:8080' Memory Free. 40066c80 Memory Free. 40066c60 Memory Free. 40066c38 URL Tree.... did NOT find `w3c-pep' Memory Free. 40066c60 PEP Engine.. No information Net Before.. calling 7afdeaea (request 40066a00, context 00000000) Auth Engine. Looking up `http://siug001:8080' Memory Free. 40066ca0 Memory Free. 40066c80 Memory Free. 40066c58 URL Tree.... did NOT find `w3c-AA' Memory Free. 40066c80 Auth Engine. No information Memory Free. 40066c38 Credentials. verified Net Before.. calling 7afdeaf2 (request 40066a00, context 00000000) Check rules. for `http://siug001:8080' Memory Free. 40066c38 Memory Free. 40066ca0 Memory Free. 40066c38 Memory Free. 40066c78 Memory Free. 40066c38 Net Object.. 40066c78 created with hash 0 Net Object.. starting request 40066a00 (retry=1) with net object 40066c78 HTTP........ Looking for `http://siug001:8080' Memory Free. 40066c48 Memory Free. 40066d28 Memory Free. 40066d00 HTHost parse Looking up `siug001' on port 8080 Host info... REUSING CHANNEL 40032b88 Memory Free. 40066d28 Host info... Added Net 40066c78 (request 40066a00) as pending on Host 40032788, 2 requests made, 1 requests in pipe, 155 pending HTDoConnect. Pending... Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 30 s, 0 microsecs Event Loop.. select returns 1 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 30 s, 0 microsecs EventOrder.. execute ordered events Memory Free. 40066d18 EventList... calling socket 6, request 00000000 handler 400057a2 type HTEvent_READ Memory Free. 40066d00 Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 6 s, 387000 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 6 s, 387000 microsecs Memory Free. 4002aea8 Timer....... Found timer 4002ae88 with callback 40005762, context 4002acd0, and relative timeout 30000 Timer....... Dispatch timer 4002ae88 Request..... Created 40066da8 HTSimplify.. `http://siug001:8080' into ............ `http://siug001:8080' Anchor...... 40066ee8 with address `http://siug001:8080' created ChunkStream. Chunk 40066fb8 created with max size 0 HTAccess.... Accessing document http://siug001:8080 Memory Free. 40066fe0 Net Before.. calling 400057aa (request 40066da8, context 00000000) Net Before.. calling 7afde5b2 (request 40066da8, context 00000000) PEP Engine.. Looking for info on `http://siug001:8080' Memory Free. 40067028 Memory Free. 40067008 Memory Free. 40066fe0 URL Tree.... did NOT find `w3c-pep' Memory Free. 40067008 PEP Engine.. No information Net Before.. calling 7afdeaea (request 40066da8, context 00000000) Auth Engine. Looking up `http://siug001:8080' Memory Free. 40067048 Memory Free. 40067028 Memory Free. 40067000 URL Tree.... did NOT find `w3c-AA' Memory Free. 40067028 Auth Engine. No information Memory Free. 40066fe0 Credentials. verified Net Before.. calling 7afdeaf2 (request 40066da8, context 00000000) Check rules. for `http://siug001:8080' Memory Free. 40066fe0 Memory Free. 40067048 Memory Free. 40066fe0 Memory Free. 40067020 Memory Free. 40066fe0 Net Object.. 40067020 created with hash 0 Net Object.. starting request 40066da8 (retry=1) with net object 40067020 HTTP........ Looking for `http://siug001:8080' Memory Free. 40066ff0 Memory Free. 400670d0 Memory Free. 400670a8 HTHost parse Looking up `siug001' on port 8080 Host info... REUSING CHANNEL 40032b88 Memory Free. 400670d0 Host info... Added Net 40067020 (request 40066da8) as pending on Host 40032788, 2 requests made, 1 requests in pipe, 156 pending HTDoConnect. Pending... Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 30 s, 0 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 30 s, 0 microsecs Memory Free. 4002aea8 Timer....... Found timer 4002ae88 with callback 40005762, context 4002acd0, and relative timeout 30000 Timer....... Dispatch timer 4002ae88 Request..... Created 40067150 HTSimplify.. `http://siug001:8080' into ............ `http://siug001:8080' Anchor...... 40067290 with address `http://siug001:8080' created ChunkStream. Chunk 40067360 created with max size 0 HTAccess.... Accessing document http://siug001:8080 Memory Free. 40067388 Net Before.. calling 400057aa (request 40067150, context 00000000) Net Before.. calling 7afde5b2 (request 40067150, context 00000000) PEP Engine.. Looking for info on `http://siug001:8080' Memory Free. 400673d0 Memory Free. 400673b0 Memory Free. 40067388 URL Tree.... did NOT find `w3c-pep' Memory Free. 400673b0 PEP Engine.. No information Net Before.. calling 7afdeaea (request 40067150, context 00000000) Auth Engine. Looking up `http://siug001:8080' Memory Free. 400673f0 Memory Free. 400673d0 Memory Free. 400673a8 URL Tree.... did NOT find `w3c-AA' Memory Free. 400673d0 Auth Engine. No information Memory Free. 40067388 Credentials. verified Net Before.. calling 7afdeaf2 (request 40067150, context 00000000) Check rules. for `http://siug001:8080' Memory Free. 40067388 Memory Free. 400673f0 Memory Free. 40067388 Memory Free. 400673c8 Memory Free. 40067388 Net Object.. 400673c8 created with hash 0 Net Object.. starting request 40067150 (retry=1) with net object 400673c8 HTTP........ Looking for `http://siug001:8080' Memory Free. 40067398 Memory Free. 40067478 Memory Free. 40067450 HTHost parse Looking up `siug001' on port 8080 Host info... REUSING CHANNEL 40032b88 Memory Free. 40067478 Host info... Added Net 400673c8 (request 40067150) as pending on Host 40032788, 2 requests made, 1 requests in pipe, 157 pending HTDoConnect. Pending... Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 29 s, 930000 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 29 s, 930000 microsecs Memory Free. 4002ac28 Timer....... Found timer 4002ac08 with callback 400057b2, context 00000000, and relative timeout 600000 Timer....... Dispatch timer 4002ac08 Event Loop.. calling select: maxfds is 7 ............ READ : 6 ............ WRITE: ............ OOB : ............ Timeout is 0 s, 70000 microsecs Event Loop.. select returns 0 ............ READ : ............ WRITE: ............ OOB : ............ Timeout is 0 s, 70000 microsecs Memory Free. 4002aea8 Timer....... Found timer 4002ae88 with callback 40005762, context 4002acd0, and relative timeout 30000 Timer....... Dispatch timer 4002ae88 Request..... Created 400674f8 HTSimplify.. `http://siug001:8080' into ............ `http://siug001:8080' Anchor...... 40067638 with address `http://siug001:8080' created ChunkStream. Chunk 40067708 created with max size 0 HTAccess.... Accessing document http://siug001:8080 Memory Free. 40067730 Net Before.. calling 400057aa (request 400674f8, context 00000000) Net Before.. calling 7afde5b2 (request 400674f8, context 00000000) PEP Engine.. Looking for info on `http://siug001:8080' ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1
Received on Wednesday, 29 December 1999 16:12:25 UTC