[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread Ahmad
hi firecold , thanks for reply , i have tested simple smp file but i want to ask about issue , i found in the logs that squid exited normally , but it still working i mean that in the logs say suqid exited , but i can access squid and there still hits in squid.log !! my question is , does

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread Ahmad
hi , here ive checked as u mentioned ! [root@squid ~]# /usr/sbin/squid -d1N [root@squid ~]# 2013/10/25 18:18:13 kid4| Starting Squid Cache version 3.3.8 for i486-pc-linux-gnu... 2013/10/25 18:18:13 kid3| Starting Squid Cache version 3.3.8 for i486-pc-linux-gnu... 2013/10/25 18:18:13 kid3| Proces

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread firecold
empezemos eliminando error por error, primero el del log: WARNING: log parameters now start with a module name. Use 'stdio:/var/log/squid/frontend.access.log' lo solucionas colocando o modificando esta: access_log /var/log/squid/frontend.access.log de este modo: access_log stdio:/var/log/squi

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread firecold
Also I see that the cache directories have not been created, or for some reason does not detect, in my case, I have this: cache_dir aufs / var/spool/squid3/squid0 $ {process_number} 1 16 256 min-size = 3100 max-size = 9 cache_dir aufs / var/spool/squid3/squid0 $ {process_number} 1 16 2

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread firecold
Mi squid.conf lo tengo de esta manera: #== Squid 3.x Conf ===# #-- # Opciones de SQUID 3.x #-- http_port 3128 inte

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread Ahmad
hi , thanks alot for reply , 1- -- ut didnt give me an answer , does i have problems in my config above 2-i corrected the stdio access.log and its fine now ! 3-also , whats mean of "kid" here ?? i see

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread firecold
Kid1, kid2, kid3, are the numbers of processes, so you set up workers 3, the kid4 is the coordinator cpu_affinity_map only you can give to each core process with respect to aufs, it is true that it can cause problems, but you can do a combination between rock and aufs, for example: cache_dir rock

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread Ahmad
hi firecold , thanks alot for reply , but dont you think that my problem is "WARNING: disk-cache maximum object size is unlimited but mem-cache maximum object size is 32.00 KB" i think that this Waring to getting squid to exit after few time of starting and i think this is the problem an

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread firecold
Thanks for the suggestions, the Aplicare in my settings, thank you very much. -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-distribute-squid-loads-to-cpus-and-memories-using-SMP-feature-tp4662867p4662908.html Sent from the Squid - Users mailing list arc

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread firecold
could you give me an example of the first problem, to give me a clear idea of ​​what you say: -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-distribute-squid-loads-to-cpus-and-memories-using-SMP-feature-tp4662867p4662909.html Sent from the Squid - User

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread Ahmad
hi firecold , i think that im close from solving my problem , but before tell you about it , just want to ask you , wt do u do when you want to restart your squid with smp configs ?? is it /usr/sbin/squid -k shutdown , then /usr/sbin/squid ??? or another thing u do ?? also this question direc

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread Ahmad
well , actually i dont use squid -k restart but i do 1- /usr/sbin/squid -k shutdown /usr/sbin/squid -k shutdown /usr/sbin/squid -k shutdown to make sure it 2- then i start it by /usr/sbin/squid it equals to squid -k restart ! but after that when i type ps aux | grep squid , i find squid

[squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread Ahmad
hi , nice explanation , my problem is , i wasn't waiting 60 sec for shutting down !! that's why the crash in squid occurs , in summary , we know the problem and fixed it regards - Dr.x -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/how-distribu

Re: [squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-25 Thread Amos Jeffries
On 26/10/2013 7:21 a.m., firecold wrote: Mi squid.conf lo tengo de esta manera: #== Squid 3.x Conf ===# #-- # Opciones de SQUID 3.x #---

Re: [squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread Amos Jeffries
On 27/10/2013 5:24 a.m., Ahmad wrote: wt do u do when you want to restart your squid with smp configs ?? squid -k restart Amos

Re: [squid-users] Re: how distribute squid loads to cpus and memories using SMP feature??

2013-10-26 Thread Amos Jeffries
On 27/10/2013 5:51 a.m., Ahmad wrote: well , actually i dont use squid -k restart but i do 1- /usr/sbin/squid -k shutdown /usr/sbin/squid -k shutdown /usr/sbin/squid -k shutdown to make sure it This schedules 3x signals for shutdown in the kernel. It does take some time for Squid to shutdown