Issue Details (XML | Word | Printable)

Key: CORE-3607
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Mariusz Zynel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Solaris does not define the RLIMIT_NPROC limit

Created: 22/Sep/11 11:04 AM   Updated: 23/Apr/13 01:13 PM
Component/s: Engine
Affects Version/s: 2.5.0
Fix Version/s: 2.5.2, 3.0 Alpha 1

Time Tracking:
Not Specified

Environment: Solaris 10 U8 x86 Sun studio 12: cc: Sun C 5.9 SunOS_i386 Patch 124868-10 2009/04/30

Planning Status: Unspecified


 Description  « Hide
There is no RLIMIT_NPROC limit in Solaris. This causes compilation of

src/remote/inet_server.cpp

 to fail. It could be fixed by checking if RLIMIT_NPROC is defined as follows:

#if defined(UNIX) && defined(HAVE_SETRLIMIT) && defined(HAVE_GETRLIMIT) && defined(RLIMIT_NPROC)
raiseLimit(RLIMIT_NPROC);


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.