Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
8eaee819
Commit
8eaee819
authored
33 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Added HAVE_GETDTABLESIZE.
parent
360e15bb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/balance-config.h
+5
-22
5 additions, 22 deletions
config/balance-config.h
config/config-template.h
+18
-14
18 additions, 14 deletions
config/config-template.h
config/sun4os4-config.h
+2
-11
2 additions, 11 deletions
config/sun4os4-config.h
with
25 additions
and
47 deletions
config/balance-config.h
+
5
−
22
View file @
8eaee819
/*
* $Id: balance-config.h,v 1.
1
1991/08/30
01:28:07
ceder Exp $
* $Id: balance-config.h,v 1.
2
1991/08/30
10:00:14
ceder Exp $
*
* This
is a generic configuration file for LysKOM
.
* This
works on a Sequent Balance running Dynix 2.1.1
.
*/
/*
* Define BUGGY_INET_NTOA if inet_ntoa is buggy. This is the case for
* a Sun Sparc with SunOS 4.1.1. If you define BUGGY_INET_NTOA a
* replacement routine (from libraries/libisc/inet_ntoa.c) will be
* used.
*/
/* #define BUGGY_INET_NTOA */
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*/
#define MAX_OPEN_FD 16
/* No LOCALE here.. */
/* #define HAVE_LOCALE */
/* See config-template.h for comments. */
#define HAVE_GETDTABLESIZE
#define HAVE_STRERROR
This diff is collapsed.
Click to expand it.
config/config-template.h
+
18
−
14
View file @
8eaee819
/*
* $Id: config-template.h,v 1.
2
1991/08/30
03:37:44
ceder Exp $
* $Id: config-template.h,v 1.
3
1991/08/30
10:00:13
ceder Exp $
*
* This is a generic configuration file for LysKOM.
*/
...
...
@@ -14,27 +14,31 @@
#define BUGGY_INET_NTOA
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
* Define HAVE_LOCALE if you have it (and want to use it).
*/
#include
<limits.h>
#ifdef _POSIX_OPEN_MAX
#define MAX_OPEN_FD _POSIX_OPEN_MAX
#else
#define MAX_OPEN_FD 16
#endif
#define HAVE_LOCALE
/*
* Define HAVE_STRERROR if your libc.a have strerror.
*/
#define HAVE_STRERROR
/*
*
Define HAVE_LOCALE if you have it (and want to use it)
.
*
If you have the getdtablesize system call
.
*/
#define HAVE_
LOCAL
E
#define HAVE_
GETDTABLESIZ
E
/*
* Define HAVE_STRERROR if your libc.a have strerror.
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*/
#define HAVE_STRERROR
#include
<sys/param.h>
/* One way to do it... */
#define MAX_OPEN_FD NOFILE
#include
<limits.h>
/* Another. (I'm not sure that this */
#define MAX_OPEN_FD _POSIX_OPEN_MAX
/* is correct - use at your own risk!*/
This diff is collapsed.
Click to expand it.
config/sun4os4-config.h
+
2
−
11
View file @
8eaee819
/*
* $Id: sun4os4-config.h,v 1.
1
1991/08/30
01:27:59
ceder Exp $
* $Id: sun4os4-config.h,v 1.
2
1991/08/30
10:00:11
ceder Exp $
*
* Configure LysKOM for a Sun Sparc-server running SunOS 4.1.1.
* This is the configuration we are running at Lysator, so this is
...
...
@@ -15,16 +15,7 @@
#define BUGGY_INET_NTOA
/*
* Max number of file descriptors that can be opened by a process.
* If this is set too large here, the server will crash when too many
* people try to connect at the same time.
*
* It is possible to boost this value to 256 if you remake the kernel
* (I think). 58 connections is enough.
*/
#define MAX_OPEN_FD 64
#define HAVE_GETDTABLESIZE
/* We have LOCALE. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment