Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

learn more… | top users | synonyms

25
votes
9answers
24k views

How to reduce memory usage on a Unix webserver

I'm currently using a Joyent Accelerator to host my webapps, and it's working fine, however I need to reduce costs so I'm downgrading my current plan and that imposes some new memory limits (256M rss, ...
11
votes
5answers
27k views

High load average, low CPU usage - why?

We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the ...
0
votes
3answers
2k views

Solaris: detect hotswap SATA disk insert

What's the method used on Solaris to get the system to rescan for new disks that have been hot-plugged on a SATA controller? I've got an HP X1600 NAS which had 9 drives configred in a ZFS pool. I've ...
5
votes
5answers
2k views

Is there a way to filter mails in remote IMAP account?

Situation: mail server with IMAP only access. Problem: I want to be able to filter mails (put some mails to various folders, mark them as read and so on). Most new email clients have this ability, ...
12
votes
2answers
18k views

How can I add one disk to an existing raidz zpool?

I have an OpenSolaris server with a zpool backupz comprised of four SCSI drives: -bash-3.2# zpool status backupz pool: backupz state: ONLINE scrub: none requested config: NAME ...
5
votes
2answers
3k views

What's in my ZFS ARC and L2ARC caches?

I have a simple ZFS setup at home, four disks mirrored, 8GB ram and 120GB Intel X25-M SSD for L2ARC. I ran zpool add poolname cache cXtXdX then generated load and eagerly tracked the warming process ...
6
votes
1answer
1k views

Does ZFS replace the need for hardware/software RAID?

I want to provide protection against data loss on my servers. Typically, I'd use hardware RAID 1 or 5, but I've been reading up on ZFS. Is it correct that ZFS itself provides RAID 1 or 5 like data ...
8
votes
11answers
14k views

ssh session idle timeout

The Solaris machine we do most of our development on has an annoying habit of timing out SSH sessions. Doesn't matter whether the client is my Ubuntu desktop, my Solaris desktop or my Windows desktop ...
7
votes
6answers
3k views

hardware recommendations for a DIY storage system based on ZFS [closed]

Looking to make use of old server lying idle as a proof-of-concept ...here are specs Dell PE 2900: Xeon 5110 - 2P, 12 GB RAM, 8x 300 GB 15K drives, Perc 5i+256 MB cache what additional h/w would be ...
9
votes
2answers
6k views

How to upgrade a ZFS RAID-Z array to larger disks on OpenSolaris?

I'm planning on installing OpenSolaris on my home server (right now it has Linux) and I would like to know how to prepare for upgrading the server to have larger hard drives in the future. Now the ...
7
votes
5answers
6k views

crontab environment

I have written various scripts to launch Java server applications, which are typically run for 24 hours before being shut down (by invoking the same script with a different parameter). The script ...
4
votes
10answers
958 views

What are OpenSolaris/Solaris strengths on server hardware?

Sun's Solaris is still significant in the server market. What are some of the advantages to using it in a Unix shop? Since it's easy to mix and match Linux and Solaris, are there special tasks at ...
3
votes
2answers
1k views

ZFS: best practices for adding cache to pools

sounds like dumb question but there are no ready answers at SF can the cache pool have different name than the zpool? eg: suppose there is a zpool "tank" serving NFS and iSCSI can a new cache pool ...
5
votes
5answers
53k views

How to set ulimits in Solaris 10

I normally use pam_limits.so and /etc/security/limits.conf to set ulimits on file size, CPU time, etc. for the regular users logging in to my server running Ubuntu. What is the best way of doing ...
4
votes
8answers
12k views

Is it possible to prevent SCP while still allowing SSH access?

Using Solaris and Linux servers and OpenSSH, is it possible to prevent users from copying files using "scp" while still allowing shell access with "ssh"? I realize that 'ssh $server "cat file" ' type ...
2
votes
4answers
6k views

ZFS - how to partition SSD for ZIL or L2ARC use?

I'm working with a Sun x4540 unit with two pools and newly-installed ZIL (OCZ Vertex 2 Pro) and L2ARC (Intel X25-M) devices. Since I need to keep these two pools in the near-term, I'd like to know how ...
7
votes
5answers
1k views

File size with zfs compression

I usually estimate the size of a whole directory tree using du -ks $DIRECTOY_TREE_ROOT, but this method cannot be used when zfs compression is on. The total displayed by ls -l is ok for a single ...
6
votes
8answers
4k views

what is the difference between linux and solaris OS?

What is the basic difference between Linux and Solaris? As both the OS are derived from UNIX so where lies the difference between Linux and Solaris? Are they because of creation by different ...
4
votes
1answer
95 views

ZFS: will RAM shortage cause trouble?

what can happen if i've not enough RAM with a ZFS with dedup option activated?
3
votes
7answers
335 views

Solaris/OpenSolaris resources

What are some good Solaris/OpenSolaris resources? Please list them whether they are online/offline or free/for payment.
2
votes
2answers
549 views

Solaris NFS which client is all that traffic comming from?

On Solaris / OpendIndiana NFS server, is the a way to get per-client stats?
2
votes
2answers
1k views

Why does doing large deletes, copies, moves on my ZFS NAS block all other IOs?

I've got a Solaris 11 ZFS-based NAS device with 12x1TB 7.2k rpm SATA drives in a mirrored configuration. It provides 2 services from the same pool - an NFS server for a small VM farm and a CIFS ...
2
votes
1answer
708 views

ZFS file deletion and its relationship to disk space

I deleted a large file (many gigs) from a Solaris system and it didn't seem to recover the amount of space on the zpool equal to the size of the file. Is there any reason that I wouldn't see this ...
2
votes
8answers
8k views

How to find out if a Solaris machine is virtualized or not?

I have a set of machines and want to know how to find out if a given machine is virtualized or not. Any commands?
1
vote
3answers
804 views

What would cause Memcached to Hang for 2+ seconds?

I'm going nuts trying to scale memcached. From their site: Memcached operations are almost all O(1). Connecting to it and issuing a get or stat command should never lag. If connecting lags, you ...
1
vote
2answers
779 views

Performance issue with JVM (1.6.0_22) invoking OS command on Solaris 10

My high-level problem is my build tool (Maven) which became suddenly very slow on a Solaris 10 environment. A build which was taking 8 minutes now takes 50 minutes. I narrowed this problem down to a ...
7
votes
4answers
1k views

ZFS and non Sun OS's

Is there any other Unix like distros that can read and write to ZFS filesystems. I know its currently unstable in FreeBSD :( The reason I am asking is I love ZFS but don't get on so well with Solaris. ...
2
votes
1answer
479 views

Moving from syslog.conf to syslogng.conf

I'm moving a Solaris box from syslogd to syslog-ng, because the Solaris version of syslogd obliterates the original source hostname on the logs. I'm looking through the syslogng.conf documentation, ...
2
votes
1answer
6k views

Splitting a raidctl mirror safely

I have a Sun T5220 server with the onboard LSI card and two disks that were in a RAID 1 mirror. The data is not important right now but we had a failed disk and are trying to understand how to do ...
2
votes
3answers
4k views

How can I improve NFS performance on a gigabit LAN?

I have a Solaris 10 server with a Mac OS X clients on a gigabit LAN. The Solaris server exports a RAID-Z backed NFS share and all the clients connect to it. However, transferring files is slower ...
0
votes
4answers
1k views

solaris + grep syntax in solaris

my target is to match Exactly the string snmpmanager from hosts file on solaris & linux the following command work on Linux (red-hat 5.1) but not for SunOS , please advice how to fit the syntax ...
0
votes
1answer
1k views

How to backup and remove solaris zones?

Anyone know the commands to backup solaris zones? If inside the solaris zone, i have also mounted to a separate directory in another network drive. How to make sure when during backup, the mounted ...
0
votes
1answer
766 views

How do i enable memory overcommit on solaris?

on a solaris 8 server with a specific workload, how do i turn on memory overcommit (à la Linux) ? # Memory size: 65536 Megabytes sun[root] # vmstat 1 procs memory page disk ...
5
votes
3answers
1k views

Solaris SMF kill service because child dies

I am using SMF to manage a service under Solaris10. This service is itself a process manager, and forks off many child processes, some of which die occasionally (or are killed for various reasons). ...
3
votes
1answer
454 views

Why am I getting only 1gbps between Solaris and VMware?

I have a VMWare ESXi 5.1.0 (build 1065491) host running a Solaris (OpenIndiana) VM as a guest. I have created a private vSwitch for NFS traffic between ESXi and Solaris. The Solaris VM has the VMware ...
3
votes
2answers
308 views

Understanding core dump (Solaris 11 crash)

I'm still trying to get behind crashes on my Solaris 11 system. Recently, a core dump has been written during the crash. Looking into it with mdb yields > $C ffffff0021c09430 vpanic() ...
3
votes
3answers
1k views

What is the package manager under OpenSolaris 5.11?

I'm on an OpenSolaris 5.11 server and when I asked about Django, technical support offered to use pkgin as a package manager. [root@gpx8nnaa ~]# uname -a SunOS gpx8nnaa.joyent.us 5.11 snv_89 i86pc ...
2
votes
5answers
4k views

SSH Keys Authentication keeps asking for password

Im trying to set access from ServerA(SunOS) to ServerB(Some custom Linux with Keyboard Interactive login) with SSH Keys. As a proof of concept I was able to do it between 2 virtual machines. Now in my ...
2
votes
1answer
603 views

Strong Cryptography in Solaris Zone

I'm trying to setup a Kerberos KDC on a Solaris zone but ran into a bit of a problem with the Cryptographic Framework on Solaris 10 even though the packages for strong encryption (SUNWcry & ...
1
vote
1answer
291 views

zfs send -i / receive stalling

On a Solaris 11.1 install, I see stalls when receiving a zfs incremental stream. The streams are originating from a Solaris 11.0 install, are created using zfs send -i and piped through mbuffer. At ...
1
vote
1answer
812 views

How to remove the OpenSolaris ZFS dump device

The ZFS dump device is used only for debugging problems. In this case, I have decided the risk vs reward is such that I should delete the dump device to make room for other storage. I am able to ...
1
vote
1answer
95 views

OpenSolaris: What is the Dump device for?

What is the purpose of rpool/dump? Is is useful or necessary? When is it a good idea to re-size it? When is it a good idea to disable and remove it?
1
vote
3answers
363 views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
1
vote
2answers
105 views

Issues while untaring in Linux- tarball created from Solaris

I am getting an error- Unknown file type 'A', extracted as normal file while un-tarring a set of files which has acl permissions set. I had created the tar file in solaris as tar -cpfv ...
1
vote
1answer
60 views

How i can List directory entries in the repository ? (i have a large number of repository)

I know "list command" -> List directory entries in the repository ... but my problem is i have a large number of repository ... if i want to perform list command to each repository the result is large ...
0
votes
1answer
123 views

zfs: zpool space map thrashing - ever fixed?

For zpools which are rather full and/or very fragmented I use to enable metaslab debugging (echo metaslab_debug/W1 | mdb -kw) to avoid space map thrashing and the resulting severe write performance ...
0
votes
1answer
3k views

Apache mod_fastcgi

i am trying to configure an apache2 server with mod_fastcgi on solaris 10 so far i have everything installed using CSW here is my virtual host configuration <VirtualHost X.X.X.X:80> ...
0
votes
1answer
483 views

Configuring 'audit' facility in syslog-ng on solaris server?

This is a follow-up to this question. mghocke was kind enough to help me out with that question, but this is really a separate question, therefor a new post. I really don't know a lot about syslog, ...
0
votes
4answers
2k views

Sendmail is not sending

I have a sendmail server on a Solaris 10 server that's stopped working. I can't seem to find anything about failed messages in /var/adm/sendmail. Here's what I'm seeing when I try to debug: ...
0
votes
1answer
424 views

How to get nfsv3* DTrace scripts working on OpenIndiana?

From here http://wikis.sun.com/display/DTrace/nfsv3+Provider on OpenIndiana the DTrace scripts: nfsv3io.d nfsv3ops.d are failing with: probe description nfsv3:::op-* matches an unstable set of ...