search for: max_connection

Displaying 20 results from an estimated 68 matches for "max_connection".

Did you mean: max_connections
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...Patch starts from line below ---- --- ./source/smbd/conn.c 2000/05/02 14:49:30 1.1 +++ ./source/smbd/conn.c 2000/05/08 16:23:12 @@ -25,165 +25,268 @@ /* set these to define the limits of the server. NOTE These are on a per-client basis. Thus any one machine can't connect to more than MAX_CONNECTIONS services, but any number of machines may connect at one time. */ + + #define MAX_CONNECTIONS 128 -static connection_struct *Connections; +#define BIGGEST_NONE -1 +#define SMALLEST_NONE -1 +#define SMALLEST_UNKNOWN -2 + +typedef struct { + connection_struct *Connections[MAX_CONNECTIONS]...
1999 Nov 20
1
openssh and DOS
...-------------------------------------- --- openssh-1.2pre13/servconf.c.orig Fri Nov 19 23:30:33 1999 +++ openssh-1.2pre13/servconf.c Fri Nov 19 23:36:56 1999 @@ -62,6 +62,7 @@ options->num_deny_users = 0; options->num_allow_groups = 0; options->num_deny_groups = 0; + options->max_connections = -1; } void fill_default_server_options(ServerOptions *options) @@ -161,7 +162,7 @@ sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset, sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives, sCheckMail, sUseLogin, sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups, - sI...
1999 Jan 29
0
MAX_OPEN_FILES - message & changeing
...ast detach - you have to reboot OR use ipcrm(1) to remove IF you allow the size to change. I changed the define to keep SHMEM_SZIE the same - ie made the following diff: *** local.h.dist Mon Mar 23 18:31:38 1998 --- local.h Fri Jan 29 11:39:42 1999 *************** *** 34,44 **** MAX_CONNECTIONS services, but any number of machines may connect at one time. */ #define MAX_CONNECTIONS 127 ! #define MAX_OPEN_FILES 100 /* Default size of shared memory used for share mode locking */ #ifndef SHMEM_SIZE ! #define SHMEM_SIZE (1024*MAX_OPEN_FILES) #endif /* the max number of c...
2009 Nov 15
3
Database postgresql not able to start
...UTHENTICATION #--------------------------------------------------------------------------- # - Connection Settings - #listen_addresses = 'localhost' # what IP address(es) to listen on; # comma-separated list of addresses; # defaults to 'localhost', '*' = all port = 5432 max_connections = 100 # note: increasing max_connections costs ~400 bytes of shared memory per # connection slot, plus lock space (see max_locks_per_transaction). You # might also need to raise shared_buffers to support more connections. #superuser_reserved_connections = 2 #unix_socket_directory = '' #uni...
2002 May 13
3
lib/debug.c:reopen_logs(349)
...h "-without-winbind" Solaris 8 (release july 2001) Gcc 3.0.1 from the companion package Veritas Filesystem Precompile adjustments done due to W2Ks 'feature' of just making one connection to the samba server thus making only one process per Terminal Server. Smbd/conn.c: #define MAX_CONNECTIONS 128 to Smbd/conn.c: #define MAX_CONNECTIONS 768 #> plimit 17155 17155: /usr/local/samba/bin/smbd -D resource current maximum time(seconds) unlimited unlimited file(blocks) unlimited unlimited data(kbytes) unlimited unlim...
2023 Apr 03
2
[EXTERNAL] Fwd: ntlm_auth and freeradius
> I guess we have to look at the conf files then, first these two: Thank you for the config file snippets. I can confirm mine were almost identical, so I've tweaked them so that they are now exactly the same as yours except for the "--require-membership-of=example\authorization_groupname" line in ntlm_auth. Unfortunately it's still erroring out: (7) mschap: Creating
2004 Jan 04
2
Samba 3 and Windows 2000 (SP4) Terminal Server
Hello, at this time we're using s. 2.2.8a (running on SuSE-Linux StandardServer 8 - Kernel 2.4.21) as fileserver for our terminal server environment. We ran into the 128 connections per client limitation and had to modify the MAX_CONNECTIONS-parameter in smbd/conn.c. Now we're planning the migration from s. 2.2.8a to s. 3.0.1. Is the modification in smbd/conn.c still necessary, when using s. 3.0.1 in a Windows 2000 (SP4) terminal server environment? Thanks Thorsten. -- +++ GMX - die erste Adresse f?r Mail, Message, More +++ Neu...
2023 Aug 16
3
Segmentation fault
...n 18. In res_odbc.conf, if I add a second, new data source like [asterisk] enabled=yes dsn=asterisk sanitysql => select 1 isolation => read_committed username=root ;password= pre-connect => yes forcecommit => yes connect_timeout => 10 negative_connection_cache => 0 max_connections =>500 my odbc.ini [cdr] Description = MySQL ODBC Driver Testing Driver = maria Socket = /var/run/mysqld/mysqld.sock User = root Password = Database = public Option = 3 I get, immediately, segmentation fault. With only one, it works fine. Is this by design? Philip...
2019 Oct 22
2
Realtime PJSIP max_streams' issues
...ax_video_streams to any positive greater than 0 integer value in realtime (DB) of any endpoints. After running command "pjsip show endpoint 1001000001" it shows '0' but when setting as 'NULL' in DB, showing output to 1 for both parameters. Furthermore, in AOR section, the max_connection is set to 1 for each endpoints. Please advise, for this issue. -- Regards, Ahmed Munir Chohan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191022/5588438a/attachment.html>
2003 Nov 04
6
SV: Samba-Citrix compatability
I have searched for some FAQ/HOWTO regarding Citrix/Metaframe to no avail. (Like this one http://samba.org/~jht/HOWTO/Samba-HOWTO-Collection.pdf ) What I would like to see in such a FAQ/HOWTO: - Compilation issues regarding Citrix/metaframe - - ie the need to increase the MAX_CONNECTION setting before compilation - - ie how to compile samba to a 64 bit application to get more available file descriptors (problem for solaris) - the need to tweak the /etc/system settings (ie "set rlim_fd_max = <number>") - oplocks settings in smb.conf - the single smbd process issue a...
2003 Mar 31
2
Citrix reports no more connections to samba server
Hi All I have a Win2K server with Citrix Metaframe XPe installed on the network and uses mapped network drives to a Samba file server. The Citrix server is locking users out of the mapped network drive on the samba server. Citrix has 125 concurrent licences and Terminal services licences of the same amount Samba version is 2.2.3a Running on a Redhat 7.3 box. Please advise if more into is
2006 Aug 02
7
ActiveRecord does not close database connections?
I have an application that creates quite a few threads. I keep getting the "mysql too many connections" error. ActiveRecord does not close the connection once a thread had died out. To make things worse mysql has a wait_timeout variable that would basically kill off these connections for me, but there is a bug and I can not change the value of it. I have tried at least 10 different
2006 Aug 02
0
Mysql too many connections
...lly in my background process I am creating new threads. Each thread get''s it''s own database connection. The problem is that when the thread is finished or killed it doesn''t close the connection. What mysql has is a wait_timeout variable. This is set to 8 hours and max_connections is set to 100. I could easily set max_connections to 500 and wait_timeout to 60 seconds or something. This would solve my problem, but as well all know this is a hack. Is there a way to close the db connection when the thread is finished or killed? To make life easier I even kill and clean...
2011 Feb 15
2
Bacula
...bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula". 09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable to connect to PostgreSQL server. Database=bacula User=bacula Possible causes: SQL server not running; password incorrect; max_connections exceeded. 09-Feb 11:26 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf Does anyone know how to check if the database for bacula exists and how to start it? I would like to know how to view tape archives? Thank you if anyone can help. John.
2003 Jan 02
1
Windows 2000 Terminal Server Connections
...sOnConnection = false. What is thier in equivilance for Windows 2000? Our Samba is running out of free connections per Terminal Server. Currently that number is 128. We have 5 terminal servers and each server spawns a single smbd process with 128 connections. Do I have to increase the number of MAX_CONNECTIONS and recompile samba? Or is thier a pain-free method to correct this?
2019 Aug 29
0
I broke "yum update" - C7
...'ftp_disable_epsv': False, 'ftp_headers' : None, 'half_life' : 2592000, 'http_headers' : None, 'interrupt_callback': None, 'ip_resolve' : None, 'keepalive' : 1, 'libproxy' : False, 'max_connections': 5, 'max_header_size': 2097152, 'minrate' : None, 'mirror_group' : None, 'multi_progress_obj': None, 'no_cache' : False, 'opener' : None, 'password' : None, 'prefix' : None...
2002 Nov 21
1
Out of connection structures
...become 2.2.3). If you're > > having trouble on large Solaris servers I strongly suggest you move > > to the current CVS until the 2.2.3 final release. > > > > Jeremy. > > Jeremy, > > as it looks now we were bitten by MAX_CONNECTIONS (see below) as we use samba > from Citrix Terminal Servers. Will this issue be addressed in 2.2.3? or need > we still patch this value? After this patch we are now running stable it > seems. > > TIA Richard > > Apart from the file_decriptor p...
2023 Aug 20
1
Segmentation fault
...es > > dsn=asterisk > > sanitysql => select 1 > > isolation => read_committed > > username=root > > ;password= > > pre-connect => yes > > forcecommit => yes > > connect_timeout => 10 > > negative_connection_cache => 0 > > max_connections =>500 > > my odbc.ini > > [cdr] > > Description = MySQL ODBC Driver Testing > > Driver = maria > > Socket = /var/run/mysqld/mysqld.sock > > User = root > > Password = > > Database = public > > Option = 3 > > I  get, immediately, segmen...
2006 Mar 02
2
[slightly-OT] postgresql 8.1.3 on intel OS X problems
...ng directory /opt/local/var/db/pgsql8/postgres8/pg_multixact/offsets ... ok creating directory /opt/local/var/db/pgsql8/postgres8/base ... ok creating directory /opt/local/var/db/pgsql8/postgres8/base/1 ... ok creating directory /opt/local/var/db/pgsql8/postgres8/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in /opt/local/var/db/pgsql8/postgres8/base/1 ... FATAL: could not create shared memory segment: Cannot allocate memory DETAIL: Failed system call was shmget(key=1, size=1318912, 03600)...
2003 Feb 02
2
Windows 2000 Terminal Server Environment
I am running Citrix Metaframe XP on Windows 2000 server and would like to have the ability to access files on my AIX Unix server. Are there any issues with Samba in a Windows Terminal Server environment? Thanks, Tim Brooks