Hiho,
In ./data/logs/admin.log i've found this line:
exactly at this time people can't log in to my server but players who were already in game can play without any problems
and there is ServicePort:
pen
Can you help me to fix this problem, please?
In ./data/logs/admin.log i've found this line:
[27/1/2013 17:26:43] (Error - void ServicePort:pen(uint16_t)) NETWORK: Too many open files
exactly at this time people can't log in to my server but players who were already in game can play without any problems
and there is ServicePort:
PHP:
void ServicePort::open(uint16_t port)
{
m_serverPort = port;
m_pendingStart = false;
try
{
if(g_config.getBool(ConfigManager::BIND_IP_ONLY))
m_acceptor = new boost::asio::ip::tcp::acceptor(m_io_service, boost::asio::ip::tcp::endpoint(
boost::asio::ip::address(boost::asio::ip::address_v4::from_string(
g_config.getString(ConfigManager::IP))), m_serverPort));
else
m_acceptor = new boost::asio::ip::tcp::acceptor(m_io_service, boost::asio::ip::tcp::endpoint(
boost::asio::ip::address(boost::asio::ip::address_v4(INADDR_ANY)), m_serverPort));
accept();
}
catch(boost::system::system_error& e)
{
if(m_logError)
{
LOG_MESSAGE(LOGTYPE_ERROR, e.what(), "NETWORK")
m_logError = false;
}
m_pendingStart = true;
Scheduler::getInstance().addEvent(createSchedulerTask(5000, boost::bind(
&ServicePort::onOpen, boost::weak_ptr<ServicePort>(shared_from_this()), m_serverPort)));
}
}
Can you help me to fix this problem, please?