The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Is it possible to access from a server the database of another server. debu UNIX for Advanced & Expert Users 1 05-20-2007 02:42 PM
Access Problems Luis Solorzano UNIX for Dummies Questions & Answers 1 03-01-2007 07:56 PM
Can't access files on own server Djaunl UNIX for Dummies Questions & Answers 3 07-20-2006 07:19 AM
Simultaneous printing sjk303 UNIX for Dummies Questions & Answers 1 08-15-2002 04:14 AM
FTP access problems zbis12 UNIX for Dummies Questions & Answers 5 06-10-2002 08:47 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-30-2007
Registered User
 

Join Date: Mar 2007
Posts: 4
Problems with simultaneous access to a server

Hello,

I'm working in a project where several procedures are programmed using UNIX scripts.

One of these scripts is launched in several threads. When performing these threads an scp command to another server it gives out. This error happens only sometimes, others not and each time for a different amount of threads. It seems to be a problem wih simultaneous connections to the same server as the scp is performes more or less at the same time for all threads. Does anybody know how to check the number of simultaneous connections allowed in a UNIX server?

Thanks and best regards,

Héctor
Reply With Quote
Forum Sponsor
  #2  
Old 03-30-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
What is the distribution that you are using ?
Reply With Quote
  #3  
Old 03-30-2007
Registered User
 

Join Date: Mar 2007
Posts: 4
Used Version

It's a SUN Solaris 8 Server.
Reply With Quote
  #4  
Old 03-30-2007
Registered User
 

Join Date: Mar 2007
Posts: 4
version

Hi,

I'm not sure , but exwcuting uname -X I get folowing data:

System = SunOS
Node = xxxxxxxxx
Release = 5.8
KernelID = Generic_108528-27
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

Thanks and best regards,

Héctor
Reply With Quote
  #5  
Old 03-30-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
what is the value of
Code:
sysctl fs.file-max
this would give the maximum no of descriptors which refers to the connections possible.

I might be wrong in this approach !

you need to check for the values in /etc/system as well.
Reply With Quote
  #6  
Old 03-30-2007
Registered User
 

Join Date: Mar 2007
Posts: 4
sysctl fs.file-max gives out no output but an error.

The content of /etc/system (The important part I think ) is:
forceload: drv/vxdmp
forceload: drv/vxio
forceload: drv/vxspec
forceload: drv/dad
forceload: drv/sd
forceload: drv/ssd
rootdev:/pseudo/vxio@0:0
set vxio:vol_rootdev_is_volume=1
* vxvm_END (do not remove)

* vxfs_START -- do not remove the following lines:
* VxFS requires a stack size greater than the default 8K.
* The following value allows the kernel stack size to be
* increased to 24K for Solaris 7, 8 and 9, and 16K for Solaris 2.6.
set lwp_default_stksize=0x6000
* vxfs_END


* vxfs_START -- do not remove the following lines:
* VxFS requires a stack size greater than the default 8K.
* The following value allows the kernel stack size to be
* increased to 24K for Solaris 7, 8 and 9, and 16K for Solaris 2.6.
set rpcmod:svc_default_stksize=0x6000
* vxfs_END


* vxfs_START -- do not remove the following lines:
* VxFS requires a stack size greater than the default 8K.
* The following value allows the kernel stack size to be
* increased to 24K for Solaris 7, 8 and 9, and 16K for Solaris 2.6.
set lwp_default_stksize=0x6000
* vxfs_END


* vxfs_START -- do not remove the following lines:
* VxFS requires a stack size greater than the default 8K.
* The following value allows the kernel stack size to be
* increased to 24K for Solaris 7, 8 and 9, and 16K for Solaris 2.6.
set rpcmod:svc_default_stksize=0x6000
* vxfs_END

set nfssrv:nfs_portmon=1
set noexec_user_stack_log=1
set noexec_user_stack=1

* Begin MDD database info (do not edit)
set md:mddb_bootlist1="dad:12:16"
* End MDD database info (do not edit)
* BEGIN ORACLE
*
forceload:sys/shmsys
forceload:sys/semsys
forceload:sys/msgsys
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=2048
set shmsys:shminfo_shmseg=2048
set semsys:seminfo_semmns=15000
set semsys:seminfo_semmni=1500
set semsys:seminfo_semmsl=1024
set semsys:seminfo_semmap=2000
set semsys:seminfo_semmnu=2000
set semsys:seminfo_semume=100
set semsys:seminfo_semopm=100
set msgsys:msginfo_msgmax=65536
set msgsys:msginfo_msgmnb=65536
set msgsys:msginfo_msgtql=1550
set msgsys:msginfo_msgseg=25088
*
* END ORACLE
*
* Begin Tuxedo
*
set semsys:seminfo_semvmx=32767
set semsys:seminfo_semaem=16384
set msgsys:msginfo_msgssz=750
set msgsys:msginfo_msgmni=100
*
* End Tuxedo
*
*
* BEGIN ASAP
*
set rlim_fd_max=2048
set pt_cnt=4096
set rstchown=0
set maxusers=1024
set max_nprocs=2048


Can you please inform what I Should change
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0