[squid-users] Number of threads in AUFS

From: Ko Jong Hyun <chungsuk@dont-contact.us>
Date: Thu, 19 Feb 2004 18:33:35 +0900

First, my system is:

RedHat 9 (2.4.20-20.9)
1.8GHz Xeon * 2
SEAGATE ST373307LC (10000 RPM, U320 SCSI) * 2
Memory 1G
Apache/2.0.48

Squid version : 2.5 STABLE4

HTTP request generator : httperf 0.8 (with 200 req/s)

I compile Squid with options :
--with-aufs-threads=32 --with-pthreads --enable-storeio=aufs

Corresponding to the configure option, i think that there are 32 threads of
Squid, but :

ps -ef | grep squid
root 5906 1 0 Feb18 ? 00:00:00 sbin/squid
nobody 5908 5906 0 Feb18 ? 00:00:03 (squid)
root 8271 5505 0 14:45 pts/0 00:00:00 grep squid

There is only one Squid process and its child, respectively.
(There is no change in the number of process when I start httperf: sending
HTTP requests - 200 req/s)

Therefore, i've searched the mailing-list, and found this:
http://www.squid-cache.org/mail-archive/squid-users/200303/0520.html

According to the answer, my system do not operate any disk I/O action.

To help your understanding about my situation,
i append the latest contens of my cache.log file below:

2004/02/18 15:57:28| Starting Squid Cache version 2.5.STABLE4 for
i686-pc-linux-gnu...
2004/02/18 15:57:28| Process ID 5908
2004/02/18 15:57:28| With 8192 file descriptors available
2004/02/18 15:57:28| Performing DNS Tests...
2004/02/18 15:57:28| Successful DNS name lookup tests...
2004/02/18 15:57:28| DNS Socket created at 0.0.0.0, port 32781, FD 4
2004/02/18 15:57:28| Adding nameserver 61.33.237.13 from /etc/resolv.conf
2004/02/18 15:57:28| Unlinkd pipe opened on FD 8
2004/02/18 15:57:28| Swap maxSize 10485760 KB, estimated 131072 objects
2004/02/18 15:57:28| Target number of buckets: 6553
2004/02/18 15:57:28| Using 8192 Store buckets
2004/02/18 15:57:28| Max Mem size: 1048576 KB
2004/02/18 15:57:28| Max Swap size: 10485760 KB
2004/02/18 15:57:28| Store logging disabled
2004/02/18 15:57:28| Rebuilding storage in /reiser/squid-cache-2 (CLEAN)
2004/02/18 15:57:28| Using Least Load store dir selection
2004/02/18 15:57:28| chdir: /usr/local/squid/var/cache: (2) No such file or
directory
2004/02/18 15:57:28| Current Directory is /usr/local/squid
2004/02/18 15:57:28| Loaded Icons.
2004/02/18 15:57:28| Accepting HTTP connections at 0.0.0.0, port 3128, FD
7.
2004/02/18 15:57:28| Accepting SNMP messages on port 3401, FD 9.
2004/02/18 15:57:28| WCCP Disabled.
2004/02/18 15:57:28| Ready to serve requests.
2004/02/18 15:57:29| Done scanning /reiser/squid-cache-2 swaplog (0
entries)
2004/02/18 15:57:29| Finished rebuilding storage from disk.
2004/02/18 15:57:29| 0 Entries scanned
2004/02/18 15:57:29| 0 Invalid entries.
2004/02/18 15:57:29| 0 With invalid flags.
2004/02/18 15:57:29| 0 Objects loaded.
2004/02/18 15:57:29| 0 Objects expired.
2004/02/18 15:57:29| 0 Objects cancelled.
2004/02/18 15:57:29| 0 Duplicate URLs purged.
2004/02/18 15:57:29| 0 Swapfile clashes avoided.
2004/02/18 15:57:29| Took 1.5 seconds ( 0.0 objects/sec).
2004/02/18 15:57:29| Beginning Validation Procedure
2004/02/18 15:57:29| Completed Validation Procedure
2004/02/18 15:57:29| Validated 0 Entries
2004/02/18 15:57:29| store_swap_size = 0k
2004/02/18 15:57:30| storeLateRelease: released 0 objects
2004/02/19 14:53:07| Preparing for shutdown after 0 requests
2004/02/19 14:53:07| Waiting 30 seconds for active connections to finish
2004/02/19 14:53:07| FD 7 Closing HTTP connection
2004/02/19 14:53:09| Shutting down...
2004/02/19 14:53:09| FD 9 Closing SNMP socket
2004/02/19 14:53:09| Closing unlinkd pipe on FD 8
2004/02/19 14:53:09| aioSync: flushing pending I/O operations
2004/02/19 14:53:09| aioSync: done
2004/02/19 14:53:09| storeDirWriteCleanLogs: Starting...
2004/02/19 14:53:09| Finished. Wrote 0 entries.
2004/02/19 14:53:09| Took 0.1 seconds ( 0.0 entries/sec).

Is there any problem in the above log file, or any other else?

Thanks in advance.

_________________________________________________________________
Áõ±Ç Á¤º¸ °¡Àå ºü¸£°í ÆíÇÏ°Ô º¸½Ç ¼ö ÀÖ½À´Ï´Ù. MSN Áõ±Ç/ÅõÀÚ
http://www.msn.co.kr/stock/
Received on Thu Feb 19 2004 - 02:33:37 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST