2012-03-26 14:27, Aubrey Li wrote:
The php temporary folder is set to /tmp, which is tmpfs.
By the way, how much RAM does the box have available?
"tmpfs" in Solaris is backed by "virtual memory".
It is like a RAM disk, although maybe slower than ramdisk
FS as seen in livecd, as long as there is enough free
RAM, but then tmpfs can get swapped out to disk.
If your installation followed the default wizard, your
swap (or part of it) could be in rpool/swap and backed
by ZFS - leading to both many tmpfs accesses and many
ZFS accesses. (No idea about the mutex spinning part
though - if it is normal or not).
Also I'm not sure if tmpfs gets the benefits of caching,
and ZFS ARC cache can consume lots of RAM and thus push
tmpfs out to swap.
As a random guess, try pointing PHP tmp directory to
/var/tmp (backed by zfs) and see if any behaviors change?
zfs-discuss mailing list