Problems with simultaneous access to a server


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problems with simultaneous access to a server
# 1  
Old 03-30-2007
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
# 2  
Old 03-30-2007
What is the distribution that you are using ?
# 3  
Old 03-30-2007
Used Version

It's a SUN Solaris 8 Server.
# 4  
Old 03-30-2007
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
# 5  
Old 03-30-2007
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 ! Smilie

you need to check for the values in /etc/system as well.
# 6  
Old 03-30-2007
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

2. Proxy Server

How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access?

Dear all experts here, :) I would like to install a proxy server on Linux server to perform solely to control the access of Web server. In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server. I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies

3. Shell Programming and Scripting

Multi server access through remote server using ssh

Team, Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress one at a time and login as below for that specific ip address ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in> password features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies

4. Homework & Coursework Questions

Limit simultaneous file access

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: So my problem is: 4990 of 5000 users should be able to access a file. How can this be accomplished. 2.... (1 Reply)
Discussion started by: protiss
1 Replies

5. UNIX for Dummies Questions & Answers

Access of Microsoft Team Foundation Server (TFS) repository from Unix Server

Hello, Some of our application team uses Microsoft Team Foundation server (TFS) reposity tool for their .NET projects , I would like to access it form Unix/Linux machine. Please let me know how can access the TFS from unix. Thanks (0 Replies)
Discussion started by: posix
0 Replies

6. Shell Programming and Scripting

Can a script runned in local server access remote server?

Hi, Im creating a script that is supposed to run commands on remote server using sftp. My script is as below: #!/bin/ksh sftp remote_server mypassword cd /u08/mydir/allfiles mget * .. But this is what I got when I runned the script: Connecting to remote server...... (3 Replies)
Discussion started by: luna_soleil
3 Replies

7. UNIX for Advanced & Expert Users

Is it possible to access from a server the database of another server.

Hi, I am using Teamcenter & in unix have ftpd the IMAN_DATA(unix) of the other server to this server & set all the environment variables(like ORACLE_HOME, IMAN_DATA) correctly.I have created a link that points to this path where i had ftpd the IMAN_DATA(unix).In IMAN_DATA which i had ftpd all... (1 Reply)
Discussion started by: debu
1 Replies

8. UNIX for Dummies Questions & Answers

Access Problems

Hi all, newbie to forums here. There's this server with HP-UX, / partition at 100%, won't allow logins, so i've tryed to mount every possible directory through NFS, ftp, sftp, ssh, cu, rcp (to replace files i know are big with an empty one) and nothing. Any other suggestion on how to access... (1 Reply)
Discussion started by: Luis Solorzano
1 Replies

9. UNIX for Dummies Questions & Answers

Simultaneous printing

I am running AIX 4.3 and network printing setup with HP Jetdirect. I would like to be able to send the same printout to both of the network printers at the same time. They are both PCL data stream. I have tried to make this work by linking the two print que, by the results are unpredictable. Is... (1 Reply)
Discussion started by: sjk303
1 Replies

10. UNIX for Dummies Questions & Answers

FTP access problems

Current setup: I am running Solaris 8 and PROFtpd. I have my network functioning correctly. The server can be pinged from any machine on the network. There is no firewall between the client and the server. The proftpd service is running using the correct and only proftpd.conf file in standalone... (5 Replies)
Discussion started by: zbis12
5 Replies
Login or Register to Ask a Question