AC_CHECK_LIB([dl],[dlopen])
AC_CHECK_LIB([m],[main])
-AC_CHECK_FUNCS([localtime_r])
+AC_CHECK_FUNCS([localtime_r getrlimit])
USEMARCON_INIT
#include "config.hpp"
+#if HAVE_GETRLIMIT
+#include <sys/resource.h>
+#endif
#include <sstream>
#include <iomanip>
#include <metaproxy/util.hpp>
m_p->m_stop_signo = signo;
}
+void yf::FrontendNet::start() const
+{
+#if HAVE_GETRLIMIT
+ struct rlimit limit_data;
+ getrlimit(RLIMIT_NOFILE, &limit_data);
+ yaz_log(YLOG_LOG, "getrlimit NOFILE cur=%ld max=%ld",
+ (long) limit_data.rlim_cur, (long) limit_data.rlim_max);
+#endif
+}
+
bool yf::FrontendNet::My_Timer_Thread::timeout()
{
return m_timeout;
void process(metaproxy_1::Package & package) const;
void configure(const xmlNode * ptr, bool test_only,
const char *path);
+ void start() const;
void stop(int signo) const;
public:
/// set ports