We have ESMC v7.0.471.0 installed as VirtualApplience on Hyper-V Server.
All was good while we have less then 1200 client agents
After installing new agents (total is about 1600) we have a problem with ESMC indicating in Dashboard like "The maximum number of open file descriptors is reached"
About 400 to 500 client agents can not replicate with ESMC server.
Restartig Eraserver or rebooting is helping for some time clients can replicate. After 30-45min the problem is coming back.
Client agents replication time is 30min
Agents version 7.0.577.0
SMC client agent trace,log:
2019-02-11 15:49:39 Error: CUpdatesModule [Thread f1c]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
2019-02-11 17:49:39 Error: CUpdatesModule [Thread 1008]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
2019-02-11 19:49:39 Error: CUpdatesModule [Thread 14bc]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
2019-02-11 21:13:26 Warning: CPushNotificationsModule [Thread 1328]: Failed to configure EPNS resource (retrying in 21600 seconds): Error calling PNS API 'PnsRegisterClient' (return code = 19108)
2019-02-11 21:49:39 Error: CUpdatesModule [Thread 16dc]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
2019-02-11 23:49:39 Error: CUpdatesModule [Thread 131c]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
2019-02-12 01:49:39 Error: CUpdatesModule [Thread 1448]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
2019-02-12 03:13:31 Warning: CPushNotificationsModule [Thread c5c]: Failed to configure EPNS resource (retrying in 21600 seconds): Error calling PNS API 'PnsRegisterClient' (return code = 19108)
2019-02-12 03:15:07 Error: CReplicationModule [Thread 810]: CAgentReplicationManager: Replication finished unsuccessfully with message: SendRequestAndHandleResponse: Rpc message response INTERNAL_ERROR. Error message: Replication details: [Task: CReplicationConsistencyTask, Scenario: Automatic replication (REGULAR), Connection: serverFQDN:2222, Connection established: true, Replication inconsistency detected: false, Server busy state detected: false, Realm change detected: false, Realm uuid: a93b727c-a591-43e1-9690-400475f29f4e, Sent logs: 0, Cached static objects: 63, Cached static object groups: 9, Static objects to save: 0, Static objects to delete: 0, Modified static objects: 0]
2019-02-12 03:45:07 Error: CReplicationModule [Thread 810]: InitializeConnection: Initiating replication connection to 'host: "serverFQDN" port: 2222' failed with: Request: Era.Common.Services.Replication.CheckReplicationConsistencyRequest on connection: host: "serverFQDN" port: 2222 with proxy set as: Proxy: Connection: :3128, Credentials: Name: , Password: ******, Enabled:0, EnabledFallback:1, failed with error code: 14, error message: OS Error, and error details:
2019-02-12 03:45:07 Warning: CReplicationModule [Thread 810]: InitializeConnection: Not possible to establish any connection (Attempts: 1)
2019-02-12 03:45:07 Error: CReplicationModule [Thread 810]: InitializeFailOverScenario: Skipping fail-over scenario (stored replication link is the same as current)
2019-02-12 03:45:07 Error: CReplicationModule [Thread 810]: CAgentReplicationManager: Replication finished unsuccessfully with message: InitializeConnection: Initiating replication connection to 'host: "serverFQDN" port: 2222' failed with: Request: Era.Common.Services.Replication.CheckReplicationConsistencyRequest on connection: host: "serverFQDN" port: 2222 with proxy set as: Proxy: Connection: :3128, Credentials: Name: , Password: ******, Enabled:0, EnabledFallback:1, failed with error code: 14, error message: OS Error, and error details: Replication details: [Task: CReplicationConsistencyTask, Scenario: Automatic replication (REGULAR), Connection: serverFQDN:2222, Connection established: false, Replication inconsistency detected: false, Server busy state detected: false, Realm change detected: false, Realm uuid: a93b727c-a591-43e1-9690-400475f29f4e, Sent logs: 0, Cached static objects: 63, Cached static object groups: 9, Static objects to save: 0, Static objects to delete: 0, Modified static objects: 0]
2019-02-12 03:49:39 Error: CUpdatesModule [Thread bac]: PerformUpdate: Module update failed with error: Could not connect to server. (error code 8449)
SMC client agent Status.html
ERROR: InitializeConnection: Initiating replication connection to 'host: "ServerFQDN" port: 2222' failed with: Request: Era.Common.Services.Replication.CheckReplicationConsistencyRequest on connection: host: "ServerFQDN" port: 2222 with proxy set as: Proxy: Connection: :3128, Credentials: Name: , Password: ******, Enabled:0, EnabledFallback:1, failed with error code: 14, error message: OS Error, and error details:
Replication details: [Task: CReplicationConsistencyTask, Scenario: Automatic replication (REGULAR), Connection: ServerFQDN:2222, Connection established: false, Replication inconsistency detected: false, Server busy state detected: false, Realm change detected: false, Realm uuid: a93b727c-a591-43e1-9690-400475f29f4e, Sent logs: 0, Cached static objects: 63, Cached static object groups: 9, Static objects to save: 0, Static objects to delete: 0, Modified static objects: 0]
All replication attempts: 101
I have tried next steps with no success:
Edit /etc/odbcinst.ini in section [MySQL ODBC 8.0 Unicode Driver] add:
Threading = 0
restart
My.cnf
# For advice on how to change settings please see
# hxxp://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[mysqld]
# General configuration
innodb_buffer_pool_size = 3072M
join_buffer_size = 16M
sort_buffer_size = 2M
symbolic-links=0
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
# Enable big chunks for ESET Remote Administrator
max_allowed_packet=33M
# Enable big statement size for ESET Remote Administrator
innodb_log_files_in_group=50
innodb_log_file_size=128MB
# Enable longer locks timeout for ESET Remote Administrator
innodb_lock_wait_timeout=3600
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
> cat /etc/odbcinst.ini
[PostgreSQL]
Description=ODBC for PostgreSQL
Driver=/usr/lib/psqlodbcw.so
Setup=/usr/lib/libodbcpsqlS.so
Driver64=/usr/lib64/psqlodbcw.so
Setup64=/usr/lib64/libodbcpsqlS.so
FileUsage=1
UsageCount=2
[MySQL ODBC 8.0 Unicode Driver]
Driver=/usr/lib64/libmyodbc8w.so
UsageCount=2
Threading=0
[MySQL ODBC 8.0 ANSI Driver]
Driver=/usr/lib64/libmyodbc8a.so
UsageCount=2