What recommended value for MYSQL max_user_connections should be?

What recommended value for MYSQL max_user_connections should be?

I have max_connections = 256, But often getting error :

[FATAL] Could not connect to DB server localhost as *********. port : User *********** already has more than ‘max_user_connections’ active connections.

So what value of connections should be?