Re: civetweb threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 15, 2014 at 10:28 AM, Mustafa Muhammad
<mustafaa.alhamdaani@xxxxxxxxx> wrote:
> Hi,
> I am using civetweb in my radosgw, if I use "rgw thread pool size"
> that is more than 1024, civetweb doesn't work.
> e.g.
> rgw thread pool size = 1024
> rgw frontends = "civetweb port=80"
>
> #ps aux -L | grep rados | wc -l
> 1096
>
> everything works fine
>
>
> If I use:
> rgw thread pool size = 1025
> rgw frontends = "civetweb port=80"
>
> # ps aux -L | grep rados | wc -l
> 43
>
> And http server is not listening.
>
> If I don't use civetweb:
> rgw thread pool size = 10240
>
> # ps aux -L | grep rados | wc -l
> 10278
>
> Regards
>
> Mustafa Muhammad

I found the problem, it is hardcoded here:
https://github.com/ceph/civetweb/blob/master/src/civetweb.c
as:
#define MAX_WORKER_THREADS 1024

I increased it to 20480 an compiled from source, problem solved.
I should we make a patch, right?
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux