ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [1/2] ambari git commit: AMBARI-20460. ambari-server restart --debug giving "su: cannot open session: Permission denied" (aonishuk)
Date Fri, 17 Mar 2017 11:30:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 ee05c9440 -> bb2697359
  refs/heads/trunk 2ef903165 -> 0c627bc98


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/0c627bc9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/0c627bc9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/0c627bc9

Branch: refs/heads/trunk
Commit: 0c627bc98d3d2098df0908b2342f6546e7702f3b
Parents: 2ef9031
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Fri Mar 17 13:30:25 2017 +0200
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Fri Mar 17 13:30:25 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/0c627bc9/ambari-server/conf/unix/ambari.properties
----------------------------------------------------------------------
diff --git a/ambari-server/conf/unix/ambari.properties b/ambari-server/conf/unix/ambari.properties
index f16402e..e3a0ac3 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/0c627bc9/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")
 


Mime
View raw message