Slow Java on SuSE 9 - SOLVED!
A friend of mine just informed me that he solved the notorious slow Java execution problem on SuSE 9.0. He did it by disabling the firewall software! I'm lacking much of details here on my (Linuxless, sigh) working place, but he had much troubles in starting the Tomcat server (among the other Java things). Then, he noticed that if URL he specified contained 127.0.0.1 (which is a loopback device, therefore demanding no DNS consulting), Tomcat initialization time was normal. But, if he specified something like localhost, a slow-down was tremendous. Firewall can be disabled by issuing /etc/init.d/firewall stop (or something like that, I don't have a Linux box in front of me right now), but a much better (i.e. permanent) way is to turn it off in YaST. Regards, Igor Djuric
A friend of mine just informed me that he solved the notorious slow Java execution problem on SuSE 9.0. He did it by disabling the firewall software!
I'm lacking much of details here on my (Linuxless, sigh) working place, but he had much troubles in starting the Tomcat server (among the other Java things). Then, he noticed that if URL he specified contained 127.0.0.1 (which is a loopback device, therefore demanding no DNS consulting), Tomcat initialization time was normal. But, if he specified something like localhost, a slow-down was tremendous.
Firewall can be disabled by issuing
/etc/init.d/firewall stop
(or something like that, I don't have a Linux box in front of me right now), but a much better (i.e. permanent) way is to turn it off in YaST.
Better than disabling were to configure firewall right :) But thanks, your letter solved my problem, I didn't think, that firewall was guilty. It was nessecary to allow some UDP ports. ain
Good day Игор, Tirsdag den 4. november 2003 15:28 kvad Игор Ђурић:
A friend of mine just informed me that he solved the notorious slow Java execution problem on SuSE 9.0. He did it by disabling the firewall software! [SNIP]
Ask your friend to try to diable IPv6 in the firewall, enable the firewall itself and reboot the computer. IPv4 will still work. He disables IPv6 like this: Edit /etc/modules.conf Change line 339 and 340 from... alias net-pf-10 ipv6 # alias net-pf-10 off ...to... # alias net-pf-10 ipv6 alias net-pf-10 off The computer must be restarted before the changes will take effect. The way IPv6 was set up in the firewall crashed mozilla and slowed the load of KHelpcenter to take several minutes. Disabling IPv6 all reports so far says that disabling IPv6 has made mozilla happy and KHelpcenter load in a few seconds. Try it - it's not safe without a firewall. Best regards :o) Johnny :o)
participants (3)
-
Ain Vagula
-
Johnny Ernst Nielsen
-
Игор Ђурић