Re: problem with shared memory and directives for httpd

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

 



On Thu, Dec 4, 2014 at 9:29 AM, nik600 <nik600@xxxxxxxxx> wrote:
Dear all

i'm experiencing a problem with shared memory and i'm not able to figure it out.

i've got a segment of shared memory in my module config and seen that if set some settings for the module in my configuration this memory isn't available in the request process.

Please use the mailing list for module developers:

http://httpd.apache.org/lists.html#modules-dev

Thanks! 

i've also attached an example (very simplified and without any mutex, just to show the case).

i've noticed that if i have in my server configuration:

 <IfModule mod_kcache.c>
      KcacheEnabled On
</IfModule>

The memory segment is not availabe:

>>[Thu Dec 04 15:26:15 2014] [crit] [client 127.0.0.1] kcache_return_result invalid  config->s

But if i comment this directive:

 <IfModule mod_kcache.c>
#      KcacheEnabled On
</IfModule>

The memory segment is available and gets updated:

>>[Thu Dec 04 15:24:47 2014] [debug] src/mod_kcache.c(96): [client 127.0.0.1] config->s->counter=68
>>[Thu Dec 04 15:24:48 2014] [debug] src/mod_kcache.c(96): [client 127.0.0.1] config->s->counter=69
>>[Thu Dec 04 15:24:48 2014] [debug] src/mod_kcache.c(96): [client 127.0.0.1] config->s->counter=70
...

i've attached the full example (100 lines of code) 

I'll appreciate any help, thank all in advance

--
/*************/
nik600
http://www.kumbe.it


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



--
Born in Roswell... married an alien...
http://emptyhammock.com/


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux