Kubuntu

Maximum number of clients reached.

I’ve been getting this error lately “Maximum number of clients reached”. After doing some research if found out it was a swap problem. The UUID of the swap partition was wrong thus there was no swap to be used. This caused the “Maximum number of clients reached” error.

To fix this you can do two things.

1. Edit fstab to change the UIDD to /dev/sda5(this is on my computer you’re machine might be different).

sudo fdisk -l

The above command will give you a list of hard drives in your computer.
Your swap partition is the one that says Linux swap / Solaris the part in front is what we need /dev/sda5

sudo nano /etc/fstab

Edit the fstab file look for swap and change the UUID in front of it to what fdisk told you it is.

2. replace the wrong UUID with the right one.

sudo blkid

This will give you a list of the HD’s with there corresponding UUID’s.
Result on my computer:

/dev/sda1: UUID="a6287f4c-1764-43bf-adec-0e442501f213" TYPE="ext3"
/dev/sda3: UUID="e2dd5ffd-1403-479a-a26a-496f6f0f234d" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="bd79927f-6687-4b64-8632-d5716677f068"

This one TYPE=”swap” id the one we want to copy the UUID of.
Edit fstab to change the UUID to the right one:

sudo nano /etc/fstab

Restart you computer and you swap problems should be over.

3 Comments

Comments are closed.

Powered by: Wordpress