AMBARI-20460. ambari-server restart --debug giving "su: cannot open session: 
Permission denied" (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bb269735
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bb269735
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bb269735

Branch: refs/heads/branch-2.5
Commit: bb269735951041c8a8e4e3cf261a080f142eacbb
Parents: ee05c94
Author: Andrew Onishuk <aonis...@hortonworks.com>
Authored: Fri Mar 17 13:30:28 2017 +0200
Committer: Andrew Onishuk <aonis...@hortonworks.com>
Committed: Fri Mar 17 13:30:28 2017 +0200

----------------------------------------------------------------------
 ambari-server/conf/unix/ambari.properties           | 2 +-
 ambari-server/src/main/python/ambari_server_main.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bb269735/ambari-server/conf/unix/ambari.properties
----------------------------------------------------------------------
diff --git a/ambari-server/conf/unix/ambari.properties 
b/ambari-server/conf/unix/ambari.properties
index 8979f20..5866fe7 100644
--- a/ambari-server/conf/unix/ambari.properties
+++ b/ambari-server/conf/unix/ambari.properties
@@ -97,7 +97,7 @@ client.threadpool.size.max=25
 agent.threadpool.size.max=25
 
 # linux open-file limit
-ulimit.open.files=10000
+ulimit.open.files=65536
 
 # Server HTTP settings
 server.http.session.inactive_timeout=1800

http://git-wip-us.apache.org/repos/asf/ambari/blob/bb269735/ambari-server/src/main/python/ambari_server_main.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari_server_main.py 
b/ambari-server/src/main/python/ambari_server_main.py
index 0eb4243..bf4f6d3 100644
--- a/ambari-server/src/main/python/ambari_server_main.py
+++ b/ambari-server/src/main/python/ambari_server_main.py
@@ -122,7 +122,7 @@ AMBARI_SERVER_STARTED_SUCCESS_MSG = "Ambari Server has 
started successfully"
 
 # linux open-file limit
 ULIMIT_OPEN_FILES_KEY = 'ulimit.open.files'
-ULIMIT_OPEN_FILES_DEFAULT = 10000
+ULIMIT_OPEN_FILES_DEFAULT = 65536
 
 AMBARI_ENV_FILE = AmbariPath.get("/var/lib/ambari-server/ambari-env.sh")
 

Reply via email to