Thread: [Rabbit-proxy-users] Error using RabbIT
Brought to you by:
ernimril
From:
<jj...@pi...> - 2004-04-13 11:12:56
|
Hello there. I tried yesterday a RabbIT2 2.0.30 installation and whenever I configure some machine to use it I get: -------------------------- [13/Apr/2004:10:50:52 GMT][ERROR][java.lang.NoClassDefFoundError: java/net/SocketAddress at rabbit.io.ConnectionHandler.getConnection(ConnectionHandler.java:167) at rabbit.proxy.Proxy.getWebConnection(Proxy.java:239) at rabbit.proxy.Connection.setupWebConnection(Connection.java:1340) at rabbit.proxy.Connection.handleRequest(Connection.java:1576) at rabbit.proxy.Connection.filterAndHandleRequest(Connection.java:199) at rabbit.proxy.Connection.doWork(Connection.java:293) at rabbit.util.RestartableThread.run(RestartableThread.java:28) ------------------------- at the error log and at the error page. Some idea? -- José de Paula Eufrásio Júnior Analista de Sistema | CPD ProInternet do Brasil |
From: Robert O. <ro...@kh...> - 2004-04-13 17:03:43
|
Jose de Paula Eufr=E1sio Junior wrote: > Hello there. I tried yesterday a RabbIT2 2.0.30 installation and=20 > whenever I configure some machine to use it I get: > [13/Apr/2004:10:50:52 GMT][ERROR][java.lang.NoClassDefFoundError:=20 > java/net/SocketAddress What version of java are you using? For 2.0.30 you need java/1.4 and you will see this if you try to use an earlier java vm. /robo |
From: Samuel H. <Sam...@Co...> - 2004-04-15 12:47:54
|
No, I still end up with errors. Instead though Rabbit crashes at a certain point. For example, I can go through google a few times and eventually the proxy dies with something like this... Heap at VM Abort: Heap def new generation total 576K, used 99K [0x2c770000, 0x2c810000, 0x2db20000) eden space 512K, 10% used [0x2c770000, 0x2c77d020, 0x2c7f0000) from space 64K, 74% used [0x2c7f0000, 0x2c7fbf60, 0x2c800000) to space 64K, 0% used [0x2c800000, 0x2c800000, 0x2c810000) tenured generation total 1408K, used 480K [0x2db20000, 0x2dc80000, 0x3c770000) the space 1408K, 34% used [0x2db20000, 0x2db98318, 0x2db98400, 0x2dc80000) compacting perm gen total 4096K, used 2274K [0x3c770000, 0x3cb70000, 0x40770000) the space 4096K, 55% used [0x3c770000, 0x3c9a89a8, 0x3c9a8a00, 0x3cb70000) Sam |
From: Samuel H. <Sam...@Co...> - 2004-04-15 12:58:02
|
Yes, the new version seems to be unstable. I removed your patch and just used the version from the web site (30) and it still dies. I was testing it by just going to google and search for me.gif Then sift through the pages until rabbit dies. Unexpected Signal : 11 occurred at PC=0x28325F3A Function=(null)+0x28325F3A Library=/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Dynamic libraries: Can not get information for pid = 5977 Heap at VM Abort: Heap def new generation total 576K, used 536K [0x2c770000, 0x2c810000, 0x2db20000) eden space 512K, 98% used [0x2c770000, 0x2c7ee100, 0x2c7f0000) from space 64K, 50% used [0x2c800000, 0x2c808118, 0x2c810000) to space 64K, 72% used [0x2c7f0000, 0x2c7fba88, 0x2c800000) tenured generation total 1408K, used 452K [0x2db20000, 0x2dc80000, 0x3c770000) the space 1408K, 32% used [0x2db20000, 0x2db911b0, 0x2db91200, 0x2dc80000) compacting perm gen total 4096K, used 2261K [0x3c770000, 0x3cb70000, 0x40770000) the space 4096K, 55% used [0x3c770000, 0x3c9a5750, 0x3c9a5800, 0x3cb70000) Local Time = Thu Apr 15 07:54:36 2004 Elapsed Time = 96 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002EF # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode) # -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Samuel Hill Sent: Thursday, April 15, 2004 8:44 AM To: 'Robert Olofsson' Cc: rab...@li... Subject: [Rabbit-proxy-users] OOM Errors No, I still end up with errors. Instead though Rabbit crashes at a certain point. For example, I can go through google a few times and eventually the proxy dies with something like this... Heap at VM Abort: Heap def new generation total 576K, used 99K [0x2c770000, 0x2c810000, 0x2db20000) eden space 512K, 10% used [0x2c770000, 0x2c77d020, 0x2c7f0000) from space 64K, 74% used [0x2c7f0000, 0x2c7fbf60, 0x2c800000) to space 64K, 0% used [0x2c800000, 0x2c800000, 0x2c810000) tenured generation total 1408K, used 480K [0x2db20000, 0x2dc80000, 0x3c770000) the space 1408K, 34% used [0x2db20000, 0x2db98318, 0x2db98400, 0x2dc80000) compacting perm gen total 4096K, used 2274K [0x3c770000, 0x3cb70000, 0x40770000) the space 4096K, 55% used [0x3c770000, 0x3c9a89a8, 0x3c9a8a00, 0x3cb70000) Sam ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Samuel H. <Sam...@Co...> - 2004-04-15 14:21:26
|
Ahhh, I do not think the instability is with Rabbit, I think it is with the Linux compatability fro Unix (FreeBSD) and the way java wants to run on it. I think I have a fix. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Samuel Hill Sent: Thursday, April 15, 2004 8:53 AM To: 'Samuel Hill'; 'Robert Olofsson' Cc: rab...@li... Subject: RE: [Rabbit-proxy-users] OOM Errors Yes, the new version seems to be unstable. I removed your patch and just used the version from the web site (30) and it still dies. I was testing it by just going to google and search for me.gif Then sift through the pages until rabbit dies. Unexpected Signal : 11 occurred at PC=0x28325F3A Function=(null)+0x28325F3A Library=/usr/local/linux-sun-jdk1.4.2/jre/lib/i386/client/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Dynamic libraries: Can not get information for pid = 5977 Heap at VM Abort: Heap def new generation total 576K, used 536K [0x2c770000, 0x2c810000, 0x2db20000) eden space 512K, 98% used [0x2c770000, 0x2c7ee100, 0x2c7f0000) from space 64K, 50% used [0x2c800000, 0x2c808118, 0x2c810000) to space 64K, 72% used [0x2c7f0000, 0x2c7fba88, 0x2c800000) tenured generation total 1408K, used 452K [0x2db20000, 0x2dc80000, 0x3c770000) the space 1408K, 32% used [0x2db20000, 0x2db911b0, 0x2db91200, 0x2dc80000) compacting perm gen total 4096K, used 2261K [0x3c770000, 0x3cb70000, 0x40770000) the space 4096K, 55% used [0x3c770000, 0x3c9a5750, 0x3c9a5800, 0x3cb70000) Local Time = Thu Apr 15 07:54:36 2004 Elapsed Time = 96 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002EF # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode) # -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Samuel Hill Sent: Thursday, April 15, 2004 8:44 AM To: 'Robert Olofsson' Cc: rab...@li... Subject: [Rabbit-proxy-users] OOM Errors No, I still end up with errors. Instead though Rabbit crashes at a certain point. For example, I can go through google a few times and eventually the proxy dies with something like this... Heap at VM Abort: Heap def new generation total 576K, used 99K [0x2c770000, 0x2c810000, 0x2db20000) eden space 512K, 10% used [0x2c770000, 0x2c77d020, 0x2c7f0000) from space 64K, 74% used [0x2c7f0000, 0x2c7fbf60, 0x2c800000) to space 64K, 0% used [0x2c800000, 0x2c800000, 0x2c810000) tenured generation total 1408K, used 480K [0x2db20000, 0x2dc80000, 0x3c770000) the space 1408K, 34% used [0x2db20000, 0x2db98318, 0x2db98400, 0x2dc80000) compacting perm gen total 4096K, used 2274K [0x3c770000, 0x3cb70000, 0x40770000) the space 4096K, 55% used [0x3c770000, 0x3c9a89a8, 0x3c9a8a00, 0x3cb70000) Sam ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Robert O. <ro...@kh...> - 2004-04-15 19:28:40
|
Samuel Hill wrote: > I do not think the instability is with Rabbit, I think it is with the >Linux compatability fro Unix (FreeBSD) and the way java wants to run on >it. I think I have a fix. > > Hmmm, ok. A correct jvm will not let the java programs crash the jvm. Since this happens with rabbit on FreeBSD I would say that the jvm and/or FreeBSD does something odd. Can you share the information you have found (link to web page or similar would be good). /robo |
From: Samuel H. <Sam...@Co...> - 2004-04-15 19:48:09
|
The correct thing to do with FreeBSD is make sure you do this... Kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc It is the linux compatability with 5.2 that was my problem. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Thursday, April 15, 2004 3:28 PM To: Samuel Hill Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] jvm crashes on FreeBSD Samuel Hill wrote: > I do not think the instability is with Rabbit, I think it is with the >Linux compatability fro Unix (FreeBSD) and the way java wants to run on >it. I think I have a fix. > > Hmmm, ok. A correct jvm will not let the java programs crash the jvm. Since this happens with rabbit on FreeBSD I would say that the jvm and/or FreeBSD does something odd. Can you share the information you have found (link to web page or similar would be good). /robo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Samuel H. <Sam...@Co...> - 2004-04-15 19:51:10
|
Well, I am up and running on a new server and was able to get to the OOM errors. I set the memory up to 384MB and reached that in about 2 hours. I am going to try and get jmp working. For some reason I had trouble before but I will put more effort into it because this memory problem really needs solved. I can restart the proxy but that really does not solve the problem or help others that use Rabbit. Could you send me the instructions on how to use jmp to get details to help solve the memory leak problem? A kill -QUIT does not kill it when it reaches OOM status (so I have no dump). Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Thursday, April 15, 2004 3:28 PM To: Samuel Hill Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] jvm crashes on FreeBSD Samuel Hill wrote: > I do not think the instability is with Rabbit, I think it is with the >Linux compatability fro Unix (FreeBSD) and the way java wants to run on >it. I think I have a fix. > > Hmmm, ok. A correct jvm will not let the java programs crash the jvm. Since this happens with rabbit on FreeBSD I would say that the jvm and/or FreeBSD does something odd. Can you share the information you have found (link to web page or similar would be good). /robo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Samuel H. <Sam...@Co...> - 2004-04-16 14:07:27
|
Even if I specify to not cache and not filter .js I still cannot get Rabbit to open the following pages. www.excite.com http://www.247realmedia.com/index.html There are a few more I am gathering. I get the following type of errors... [16/Apr/2004:13:58:49 GMT][WARN][strange error setting up web connection: java.io.IOException: Unable to connect to URL: http://docs1.excite.com/myfunctions.js] [16/Apr/2004:14:04:59 GMT][WARN][Error writing request:java.io.EOFException] Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Samuel Hill Sent: Thursday, April 15, 2004 3:47 PM To: 'Robert Olofsson' Cc: rab...@li... Subject: [Rabbit-proxy-users] OOM Errors again Well, I am up and running on a new server and was able to get to the OOM errors. I set the memory up to 384MB and reached that in about 2 hours. I am going to try and get jmp working. For some reason I had trouble before but I will put more effort into it because this memory problem really needs solved. I can restart the proxy but that really does not solve the problem or help others that use Rabbit. Could you send me the instructions on how to use jmp to get details to help solve the memory leak problem? A kill -QUIT does not kill it when it reaches OOM status (so I have no dump). Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Thursday, April 15, 2004 3:28 PM To: Samuel Hill Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] jvm crashes on FreeBSD Samuel Hill wrote: > I do not think the instability is with Rabbit, I think it is with the >Linux compatability fro Unix (FreeBSD) and the way java wants to run on >it. I think I have a fix. > > Hmmm, ok. A correct jvm will not let the java programs crash the jvm. Since this happens with rabbit on FreeBSD I would say that the jvm and/or FreeBSD does something odd. Can you share the information you have found (link to web page or similar would be good). /robo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Robert O. <ro...@kh...> - 2004-04-16 20:06:49
Attachments:
rpatch
|
Samuel Hill wrote: >Even if I specify to not cache and not filter .js I still cannot get >Rabbit to open the following pages. > >www.excite.com >http://www.247realmedia.com/index.html > > Ok, I have found something. www.excite.com sends some broken http. More specifically it sends a header that looks like: Cache-control: must-revalidate" (notice the quote character at the end!). This causes rabbit to try to fill up the string so it reads the next line and appends that until it can match an even number of quotes. This does not happen for this page.... Attached is a patch that ignores appending http headers unless rabbit is run in strict mode. With this patch both of the given sites seems to load correct (as far as I can tell). /robo |