Hi all. I have a strange problem, which is summarize in the subj. I am trying to use mldonkey-core program on a box 4.9-RC (soon 4.9-stable) which is my adsl gateway with user PPP and PPPoE. It is an Epia 5000 (533 mhz) and I have used both the nic (rl0 and vr0) on the PPP interface without any differences for the problem solving. After a while (~10minutes) mldonkey runs, it freeze my ppp connection, exausting all the mbufs on the tun0 interface, I presume, and so I am unable to have the ppp session continue. The only way to start again is to kill the process and then restart. This is my ppp.conf session which happily works otherwhise :-) ---> begin <--- default: ident user-ppp VERSION (built COMPILATIONDATE) set log Filter Phase Chat IPCP CCP tun command set server /var/run/ppp.sock pwd 0177 allow users my_user set redial 3 nat enable yes adsl: set device PPPoE:vr0 set speed sync set mtu 1492 set mru 1492 set ctsrts off enable lqr set dial set login set ifaddr 194.xxx.xxx.xxx 194.xxx.xxx.yyy add default HISADDR set authname myname set authkey mypwd ---> end <--- Is there any specific mldonkey setup problem with freebsd and user ppp ? Thanks... -- Best Regards, Gianmarco Giovannelli , ?"Unix expert since yesterday" http://www.gufi.org/~gmarco
On Wednesday 29 October 2003 07:50, Gianmarco wrote:> Hi all. > I have a strange problem, which is summarize in the subj. > > I am trying to use mldonkey-core program on a box 4.9-RC (soon 4.9-stable) > which is my adsl gateway with user PPP and PPPoE. >Now it is 4.9-STABLE ...> It is an Epia 5000 (533 mhz) and I have used both the nic (rl0 and vr0) on > the PPP interface without any differences for the problem solving. > > After a while (~10minutes) mldonkey runs, it freeze my ppp connection, > exausting all the mbufs on the tun0 interface, I presume, and so I am > unable to have the ppp session continue. The only way to start again is to > kill the process and then restart.I have not solved the problem yet, but I think this should be noted (and hopefully fixed :-) by the security officer because with the default config it installed/created it can be used to create a DOS with a normal user access. My user PPP, even if I tried to reduce the number of connections, add options NMBCLUSTERS=16384 to my kernel continues to fails after a period depending on the number of connections and the file shared you have ... Any idea/tips ? -- Best Regards, Gianmarco Giovannelli , ?"Unix expert since yesterday" http://www.gufi.org/~gmarco
Gianmarco wrote:> Hi all. > I have a strange problem, which is summarize in the subj. > > I am trying to use mldonkey-core program on a box 4.9-RC (soon 4.9-stable) > which is my adsl gateway with user PPP and PPPoE. > > It is an Epia 5000 (533 mhz) and I have used both the nic (rl0 and vr0) on the > PPP interface without any differences for the problem solving. > > After a while (~10minutes) mldonkey runs, it freeze my ppp connection, > exausting all the mbufs on the tun0 interface, I presumeI think it's more likely that you're overflowing the queue in your dsl-modem by not limiting the maximum upload bandwidth used by mldonkey. This is a common problem with asymetric connections like ADSL lines. You can work around this problem by either limiting the maximum upload bandwidth in mldonkey itself or use another means of traffic shaping (like DUMMYNET) to limit the bandwidth used by upstream connections to some value below the maximum upstream capacity of your ADSL line. -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 260 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20031031/d05ecc17/attachment.bin