Re: [Vserver] Apache inside vserver closing connection early

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 01 Nov 2006 - 03:52:55 GMT
Message-ID: <20061101035255.GA3300@MAIL.13thfloor.at>

On Sat, Oct 28, 2006 at 01:37:36AM +0200, konrad.gutkowski@ffs.pl wrote:
> Hi,
>
> I did as you suggested, disabling sendfile in apache removes
> the problem tho didnt found any patches whitch would apply
> (delta-sendfile-fix02/03 are for development version i think, and 04
> made it even worse)
>
> also that made me to do some testing and got the 2.6.18.1 + lustre
> 1.5.95 + vs 2.0.2.2-rc3 working, but hit the same problem again (and
> another one thats im going to post below)
>
> now apache drops connection after 65207 bytes
> (tested form inside and outside of the vserver running apache like beafore)
>
> thing is that older version of vs running on 2.6.15 is doing fine,
> only diffrence is that its not running lustre, - files are stored
> on remote pc in both cases - so is it a possibility that lustre is
> causing that ?

it seems to be the best explanation so far, sendfile works
fine with other filesystems (present in the kernel) so
lustre is the 'new' component here ...

> -----
> also :
>
> when i start a jabber-gg transport inside a vserver i get:
>
> [ 2388.382245] BUG: warning at kernel/pid.c:270/pid_task()
> [ 2388.382294]
> [ 2388.382295] Call Trace:
> [ 2388.382379] [<ffffffff8028ce34>] pid_task+0x94/0xa0
> [ 2388.382426] [<ffffffff8028ceb9>] get_pid_task+0x9/0x20
> [ 2388.382473] [<ffffffff8023318d>] pid_revalidate+0x2d/0x120
> [ 2388.382520] [<ffffffff8020c9ea>] do_lookup+0x13a/0x180
> [ 2388.382566] [<ffffffff8020987a>] __link_path_walk+0xb0a/0x10d0
> [ 2388.382613] [<ffffffff8020c25b>] add_to_page_cache+0x3b/0xa0
> .....

that's fine for now, it's just a warning and pretty harmless
but we are still investigating the cause ...

> its popping up each time i start the service

best,
Herbert

> TIA
> Konrad Gutkowski
>
> ----- Original Message -----
> From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
> To: <konrad.gutkowski@ffs.pl>
> Cc: <vserver@list.linux-vserver.org>
> Sent: Sunday, October 22, 2006 7:42 PM
> Subject: Re: [Vserver] Apache inside vserver closing connection early
>
>
> >On 2006.10.22 18:02:56 +0200, konrad.gutkowski@ffs.pl wrote:
> >>Hi All,
> >>
> >>I have a problem with quite old version of vserver (2.0) running on
> >>2.6.12.6 kernel,
> >>the symptoms are that the server (apache,vsftp located inside vs) is
> >>closing connection after sending 114688 bytes of data,
> >>the problem doesnt occur on never versions of vserver or when you star
> >>the
> >>server in the root context.
> >
> >That sounds like one of the sendfile(2) bugs we fixed back then.
> >
> >>can someone point me towards the patch where it was fixed ?
> >
> >Try searching the mailing list archives for sendfile.
> >
> >>i cannot upgrade the kernel for the moment as im using lustre to store
> >>vserver
> >>directory and anything above 2.6.12 makes it very unstable (bugged
> >>symlinks
> >>etc..)
> >
> >Try disabling sendfile support in apache to see if it is the correct bug
> >first and if it is, but you can't find the patch, ask again plesae.
> >
> >HTH
> >Björn
> >
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Nov 1 03:54:20 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 01 Nov 2006 - 03:54:25 GMT by hypermail 2.1.8