hi, Today I upload a big pdf file (23M), server's config is: use mongrel2 as a front proxy, use nginx as backend server, nginx was servering a django project. This file data passed mongrel2 to go to nginx and go to django. But, when I use nginx's port 8088 (I set) directly to upload, it success; when I use mongre2's port (80) to upload, it report failed. I look into server's status, found that mongrel2 then occupy 100% of one cpu. And I decide to do an experiment. I use top to monitor mongrel2's cpu occupation, and do a upload action from web browser. At beginning, everything goes ok, but, at about 8M, web browser end report 'IO error', and the mongrel2's cpu occupation change to 100% immediately. I don't know now the mongrel2's 100% cause uploading failed, or the big file's uploading failure cause mongrel2's 100% cpu occupation. Hope to help to resolve the mongrel2's internal problem. -- Nothing is impossible.
On Thu, Sep 15, 2011 at 10:05:02AM +0800, Tang Daogang wrote: > hi, > > I look into server's status, found that mongrel2 then occupy 100% of one > cpu. And I decide to do an experiment. I use top to monitor mongrel2's cpu Ok, I'll look into that too. Is it just on uploads? Anything in the error logs about it? -- Zed A. Shaw http://zedshaw.com/
OK, I have sent the err logs to you. On Sat, Sep 17, 2011 at 1:31 AM, Zed A. Shaw <zedshaw@zedshaw.com> wrote: > On Thu, Sep 15, 2011 at 10:05:02AM +0800, Tang Daogang wrote: > > hi, > > > > I look into server's status, found that mongrel2 then occupy 100% of one > > cpu. And I decide to do an experiment. I use top to monitor mongrel2's > cpu > > Ok, I'll look into that too. Is it just on uploads? Anything in the > error logs about it? > > -- > Zed A. Shaw > http://zedshaw.com/ > -- Nothing is impossible.
hi, Shaw, I found that in the error logs file I gave you, there are some error info about mongrel2 crash. Whether these info is useful to mongrel'2 crash problem? On Sat, Sep 17, 2011 at 6:04 PM, Tang Daogang <daogangtang@gmail.com> wrote: > OK, I have sent the err logs to you. > > > On Sat, Sep 17, 2011 at 1:31 AM, Zed A. Shaw <zedshaw@zedshaw.com> wrote: > >> On Thu, Sep 15, 2011 at 10:05:02AM +0800, Tang Daogang wrote: >> > hi, >> > >> > I look into server's status, found that mongrel2 then occupy 100% of one >> > cpu. And I decide to do an experiment. I use top to monitor mongrel2's >> cpu >> >> Ok, I'll look into that too. Is it just on uploads? Anything in the >> error logs about it? >> >> -- >> Zed A. Shaw >> http://zedshaw.com/ >> > > > > -- > Nothing is impossible. > > -- Nothing is impossible.