Search squid archive

Re: how distribute squid loads to cpus and memories using SMP feature??

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

 



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 kid 1 , kid 2, kid 3, kid4 ?!!!
are those my physical cpus ??
===============================================
4- 2nd issue, i read about  some about aufs in smp that it make troubles ,
thats why  i dont want to use aufs !!

but for you test now i will use aufs  and stop rock , 

now i removed rock type and i replaced backend.conf  with :
cache_dir aufs /CACHE${process_number} 10240 128 128 min-size=32769


==================================
the result is the same , it says that squid exited noramlly !! but squid
still working and can use it !!!
here is logs :

2013/10/25 20:42:28 kid4| Starting Squid Cache version 3.3.8 for
i486-pc-linux-gnu...
2013/10/25 20:42:28 kid4| Process ID 13996
2013/10/25 20:42:28 kid4| Process Roles: coordinator
2013/10/25 20:42:28 kid4| Process Roles: coordinator
2013/10/25 20:42:28 kid4| With 131072 file descriptors available
2013/10/25 20:42:28 kid4| Initializing IP Cache...
2013/10/25 20:42:28 kid4| DNS Socket created at [::], FD 8
2013/10/25 20:42:28 kid4| DNS Socket created at 0.0.0.0, FD 9
2013/10/25 20:42:28 kid4| Adding nameserver x.x.x.x.252 from squid.conf
2013/10/25 20:42:28 kid4| Adding nameserver x.x.x.x.252 from squid.conf
2013/10/25 20:42:28 kid3| Starting Squid Cache version 3.3.8 for
i486-pc-linux-gnu...
2013/10/25 20:42:28 kid4| Adding nameserver 8.8.8.8 from squid.conf
2013/10/25 20:42:28 kid3| Process ID 13997
2013/10/25 20:42:28 kid3| Process Roles: worker
2013/10/25 20:42:28 kid3| With 131072 file descriptors available
2013/10/25 20:42:28 kid3| Process Roles: worker
2013/10/25 20:42:28 kid3| With 131072 file descriptors available
2013/10/25 20:42:28 kid3| Initializing IP Cache...
2013/10/25 20:42:28 kid3| DNS Socket created at [::], FD 8
2013/10/25 20:42:28 kid3| DNS Socket created at 0.0.0.0, FD 9
2013/10/25 20:42:28 kid3| DNS Socket created at 0.0.0.0, FD 9
2013/10/25 20:42:28 kid3| Adding nameserver x.x..252 from squid.conf
2013/10/25 20:42:28 kid3| Adding nameserver 8.8.8.8 from squid.conf
2013/10/25 20:42:28 kid4| Logfile: opening log
stdio:/var/log/squid/backend.access.log
2013/10/25 20:42:28 kid2| Starting Squid Cache version 3.3.8 for
i486-pc-linux-gnu...
2013/10/25 20:42:28 kid2| Process ID 13998
2013/10/25 20:42:28 kid2| Process ID 13998
2013/10/25 20:42:28 kid2| Process Roles: worker
2013/10/25 20:42:28 kid2| Process Roles: worker
2013/10/25 20:42:28 kid2| With 131072 file descriptors available
2013/10/25 20:42:28 kid2| Initializing IP Cache...
2013/10/25 20:42:28 kid2| Initializing IP Cache...
2013/10/25 20:42:28 kid3| Logfile: opening log
stdio:/var/log/squid/backend.access.log
2013/10/25 20:42:28 kid2| DNS Socket created at [::], FD 8
2013/10/25 20:42:28 kid2| DNS Socket created at 0.0.0.0, FD 9
2013/10/25 20:42:28 kid2| DNS Socket created at 0.0.0.0, FD 9
2013/10/25 20:42:28 kid2| Adding nameserver x.x.x.252 from squid.conf
2013/10/25 20:42:28 kid2| Adding nameserver 8.8.8.8 from squid.conf
2013/10/25 20:42:28 kid2| Logfile: opening log
stdio:/var/log/squid/backend.access.log
2013/10/25 20:42:28 kid4| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2013/10/25 20:42:28 kid4| Store logging disabled
2013/10/25 20:42:28 kid4| Swap maxSize 0 + 4096 KB, estimated 315 objects
2013/10/25 20:42:28 kid4| Target number of buckets: 15
2013/10/25 20:42:28 kid4| Using 8192 Store buckets
2013/10/25 20:42:28 kid4| Swap maxSize 0 + 4096 KB, estimated 315 objects
2013/10/25 20:42:28 kid4| Target number of buckets: 15
2013/10/25 20:42:28 kid4| Using 8192 Store buckets
2013/10/25 20:42:28 kid4| Max Mem  size: 4096 KB [shared]
2013/10/25 20:42:28 kid4| Max Swap size: 0 KB
2013/10/25 20:42:28 kid3| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2013/10/25 20:42:28 kid4| Using Least Load store dir selection
2013/10/25 20:42:28 kid3| Store logging disabled
2013/10/25 20:42:28 kid4| Current Directory is /root
2013/10/25 20:42:28 kid3| WARNING: disk-cache maximum object size is too
large for mem-cache: 524288.00 KB > 32.00 KB
2013/10/25 20:42:28 kid3| Swap maxSize 10485760 + 4096 KB, estimated 806912
objects
2013/10/25 20:42:28 kid3| Target number of buckets: 40345
2013/10/25 20:42:28 kid3| Using 65536 Store buckets
2013/10/25 20:42:28 kid3| Max Mem  size: 4096 KB [shared]
2013/10/25 20:42:28 kid3| Using 65536 Store buckets
2013/10/25 20:42:28 kid3| Max Mem  size: 4096 KB [shared]
2013/10/25 20:42:28 kid3| Max Swap size: 10485760 KB
2013/10/25 20:42:28 kid3| Rebuilding storage in /CACHE3 (dirty log)
2013/10/25 20:42:28 kid3| Using Least Load store dir selection
2013/10/25 20:42:28 kid3| Using Least Load store dir selection
2013/10/25 20:42:28 kid3| Current Directory is /root
2013/10/25 20:42:28 kid2| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2013/10/25 20:42:28 kid2| Store logging disabled
2013/10/25 20:42:28 kid2| WARNING: disk-cache maximum object size is too
large for mem-cache: 524288.00 KB > 32.00 KB
2013/10/25 20:42:28 kid2| Swap maxSize 10485760 + 4096 KB, estimated 806912
objects
2013/10/25 20:42:28 kid2| Target number of buckets: 40345
2013/10/25 20:42:28 kid2| Using 65536 Store buckets
2013/10/25 20:42:28 kid2| Max Mem  size: 4096 KB [shared]
2013/10/25 20:42:28 kid2| Max Swap size: 10485760 KB
2013/10/25 20:42:28 kid2| Rebuilding storage in /CACHE2 (dirty log)
2013/10/25 20:42:28 kid2| Using Least Load store dir selection
2013/10/25 20:42:28 kid2| Using Least Load store dir selection
2013/10/25 20:42:28 kid2| Current Directory is /root
2013/10/25 20:42:28 kid4| Loaded Icons.
2013/10/25 20:42:28 kid4| Squid plugin modules loaded: 0
2013/10/25 20:42:28 kid4| Adaptation support is off.
2013/10/25 20:42:28 kid3| Loaded Icons.
2013/10/25 20:42:28 kid3| HTCP Disabled.
2013/10/25 20:42:28 kid3| Squid plugin modules loaded: 0
2013/10/25 20:42:28 kid3| Adaptation support is off.
2013/10/25 20:42:28 kid3| Done reading /CACHE3 swaplog (0 entries)
2013/10/25 20:42:28 kid3| Store rebuilding is 0.00% complete
2013/10/25 20:42:28 kid3| Finished rebuilding storage from disk.
2013/10/25 20:42:28 kid3|         0 Entries scanned
2013/10/25 20:42:28 kid3|         0 Invalid entries.
2013/10/25 20:42:28 kid3|         0 Invalid entries.
2013/10/25 20:42:28 kid3|         0 With invalid flags.
2013/10/25 20:42:28 kid3|         0 Objects loaded.
2013/10/25 20:42:28 kid3|         0 Objects loaded.
2013/10/25 20:42:28 kid3|         0 Objects expired.
2013/10/25 20:42:28 kid3|         0 Objects cancelled.
2013/10/25 20:42:28 kid3|         0 Duplicate URLs purged.
2013/10/25 20:42:28 kid3|         0 Swapfile clashes avoided.
2013/10/25 20:42:28 kid3|   Took 0.01 seconds (  0.00 objects/sec).
2013/10/25 20:42:28 kid3| Beginning Validation Procedure
2013/10/25 20:42:28 kid3| Beginning Validation Procedure
2013/10/25 20:42:28 kid2| Loaded Icons.
2013/10/25 20:42:28 kid2| HTCP Disabled.
2013/10/25 20:42:28 kid2| HTCP Disabled.
2013/10/25 20:42:28 kid2| Squid plugin modules loaded: 0
2013/10/25 20:42:28 kid2| Adaptation support is off.
2013/10/25 20:42:28 kid2| Done reading /CACHE2 swaplog (0 entries)
2013/10/25 20:42:28 kid2| Store rebuilding is 0.00% complete
2013/10/25 20:42:28 kid2| Finished rebuilding storage from disk.
2013/10/25 20:42:28 kid3|   Completed Validation Procedure
2013/10/25 20:42:28 kid2|         0 Entries scanned
2013/10/25 20:42:28 kid3|   Validated 0 Entries
2013/10/25 20:42:28 kid2|         0 Invalid entries.
2013/10/25 20:42:28 kid2|         0 Entries scanned
2013/10/25 20:42:28 kid3|   Validated 0 Entries
2013/10/25 20:42:28 kid2|         0 Invalid entries.
2013/10/25 20:42:28 kid2|         0 With invalid flags.
2013/10/25 20:42:28 kid3|   store_swap_size = 0.00 KB
2013/10/25 20:42:28 kid2|         0 Objects loaded.
2013/10/25 20:42:28 kid2|         0 Objects expired.
2013/10/25 20:42:28 kid2|         0 Objects loaded.
2013/10/25 20:42:28 kid2|         0 Objects expired.
2013/10/25 20:42:28 kid2|         0 Objects cancelled.
2013/10/25 20:42:28 kid2|         0 Duplicate URLs purged.
2013/10/25 20:42:28 kid2|         0 Duplicate URLs purged.
2013/10/25 20:42:28 kid2|         0 Swapfile clashes avoided.
id2|         0 Swapfile clashes avoided.
2013/10/25 20:42:28 kid2|   Took 0.01 seconds (  0.00 objects/sec).
2013/10/25 20:42:28 kid2|   Took 0.01 seconds (  0.00 objects/sec).
2013/10/25 20:42:28 kid2| Beginning Validation Procedure
2013/10/25 20:42:28 kid2|   Completed Validation Procedure
2013/10/25 20:42:28 kid2|   Validated 0 Entries
2013/10/25 20:42:28 kid2|   store_swap_size = 0.00 KB
2013/10/25 20:42:28 kid3| Accepting HTTP Socket connections at
local=127.0.0.1:4003 remote=[::] FD 13 flags=1
2013/10/25 20:42:28 kid2| Accepting HTTP Socket connections at
local=127.0.0.1:4002 remote=[::] FD 13 flags=1
2013/10/25 20:42:29 kid3| storeLateRelease: released 0 objects
2013/10/25 20:42:29 kid2| storeLateRelease: released 0 objects
2013/10/25 20:42:40 kid2| Shutting down...
2013/10/25 20:42:40 kid2| storeDirWriteCleanLogs: Starting...
2013/10/25 20:42:40 kid2| storeDirWriteCleanLogs: Starting...
2013/10/25 20:42:40 kid2|   Finished.  Wrote 0 entries.
2013/10/25 20:42:40 kid2|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.220 seconds = 0.084 user + 0.136 sys
Maximum Resident Size: 132160 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    4608 KB
        Ordinary blocks:         4565 KB      5 blks
        Small blocks:               0 KB      7 blks
        Holding blocks:         73504 KB      9 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      42 KB
        Total in use:           78069 KB 1694%
        Total free:                42 KB 1%
2013/10/25 20:42:40 kid2| Logfile: closing log
stdio:/var/log/squid/backend.access.log
CPU Usage: 0.220 seconds = 0.084 user + 0.136 sys
Maximum Resident Size: 132160 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    4608 KB
        Ordinary blocks:         4565 KB      5 blks
        Small blocks:               0 KB      7 blks
        Holding blocks:         73504 KB      9 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      42 KB
        Total in use:           78069 KB 1694%
        Total free:                42 KB 1%
2013/10/25 20:42:40 kid2| Logfile: closing log
stdio:/var/log/squid/backend.access.log
2013/10/25 20:42:40 kid2| Open FD UNSTARTED     8 DNS Socket IPv6
2013/10/25 20:42:40 kid2| Open FD UNSTARTED     9 DNS Socket IPv4
2013/10/25 20:42:40 kid2| Open FD READING      14 
2013/10/25 20:42:40 kid3| Shutting down...
2013/10/25 20:42:40 kid3| storeDirWriteCleanLogs: Starting...
2013/10/25 20:42:40 kid3|   Finished.  Wrote 0 entries.
2013/10/25 20:42:40 kid3|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.212 seconds = 0.070 user + 0.142 sys
Maximum Resident Size: 115696 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    4608 KB
        Ordinary blocks:         4565 KB      5 blks
        Small blocks:               0 KB      7 blks
        Holding blocks:         73504 KB      9 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      42 KB
        Total in use:           78069 KB 1694%
        Total free:                42 KB 1%
2013/10/25 20:42:40 kid3| Logfile: closing log
stdio:/var/log/squid/backend.access.log
2013/10/25 20:42:40 kid3| Open FD UNSTARTED     8 DNS Socket IPv6
2013/10/25 20:42:40 kid3| Open FD UNSTARTED     9 DNS Socket IPv4
2013/10/25 20:42:40 kid3| Open FD READING      14 
2013/10/25 20:42:40 kid2| Squid Cache (Version 3.3.8): Exiting normally.
2013/10/25 20:42:40 kid3| Squid Cache (Version 3.3.8): Exiting normally.

=================================================================


agian , plz tell me if i face problems with this config or not !!!



REGARDS




-----
Dr.x
--
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-tp4662867p4662883.html
Sent from the Squid - Users mailing list archive at Nabble.com.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux