Sponsored Content
Special Forums Windows & DOS: Issues & Discussions WRQ Reflection SFTP process hangs when run using windows scheduler Post 302072071 by kapilash on Thursday 27th of April 2006 05:26:55 AM
Old 04-27-2006
Data WRQ Reflection SFTP process hangs when run using windows scheduler

Hi
I am doing development on .net framework on Win 2003 box.
I am scheduling a job using Windows scheduler to kick off SFTP of files from a local directory to a remotre Unix box.

I am using WRQ Reflection Multihost v12.0.7 standard edition for this.
Here is how we are scheduling the thing.
We are running the scheduler under a service account while logged onto the Windows2003 box as a different user.
The schduled job works fine sometime but at other times it just hangs after calling the Open method of SFTP.

Would highly appreciate any help on this.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

nohup process hangs

Hi All, I tried searching for this, but I have yet to find anything useful. So here goes, if a script executed from another script with nohup & hangs, does it affect the parent script? Reason I ask, we have a windows box with NFS, and we use it to store some of our files. Currently, I mount the... (2 Replies)
Discussion started by: Sully
2 Replies

2. Windows & DOS: Issues & Discussions

run process on windows server

hi all in our office we have windows 2003 server for one particular application designed by our team need one service must be running on windows server now when we run process from any user it runs till that user is logged in as soon as he logs off service stops running. we had win 2000... (1 Reply)
Discussion started by: zedex
1 Replies

3. Programming

how can I get to know what threads run within process java.exe on windows

I am writing java application on windows. There are more than 100 threads run within java.exe. I want to know what threads run within process java.exe so that I can find out if there are abnormal java threads. (4 Replies)
Discussion started by: mika
4 Replies

4. Shell Programming and Scripting

Installation of WRQ Reflection Suite version 12.0 using console mode

hi, I have installed WRQ Reflection Suite version 12.0 on my machine.how to configure it? Please suggest me what are the steps after installation? (0 Replies)
Discussion started by: sreelu
0 Replies

5. Solaris

Reflection X and Windows XP

Hey all, Has anyone had this problem? I am using Reflection X to xterm to a Sol 10 box from a Win XP box. I set the display variable on the Sol: DISPLAY=xxx.xxx.xxx.xxx:0.0 export DISPLAY I then try to run the exe but the xterm states it cannot display to the IP. I can get this to work... (2 Replies)
Discussion started by: aeroforce
2 Replies

6. Shell Programming and Scripting

SFTP HANGS

Hi , we are writing a shell script to test connection of our destination servers and facing an issue if the destination server doesnt respond. we are using the following command., sftp -B /dev/fd/0 <host@servername> << EOF >> file.txt quit EOF --------- The above command hangs for 20min and... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

7. Shell Programming and Scripting

sftp from solaris to windows 2008 hangs

Hi All,Our sftp connection from Solaris to windows 2008 hangs with following verbose output. From the output I can see that the connection itself ( key matching ) is successful , but I can't see sftp prompt.Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f debug1: Reading configuration data... (1 Reply)
Discussion started by: rahulkav
1 Replies

8. UNIX for Advanced & Expert Users

SFTP. ls and get hangs.

Hello I have a sftp problem. If I do sftp between some nodes that we installed it works fine i can list directories and get files. If I connect with sftp from the other side of a firewall (wich has port 22 open) I can log in and cd to which ever direcory i want i can do pwd but when i do... (4 Replies)
Discussion started by: vettec3
4 Replies

9. IP Networking

SFTP hangs

Ok sftp connects but hangs after I enter the password manually The ssh version is 1.0 bash-2.05$ ssh -V SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. When I go from solaris 9 to sftp to another server with latest proftpd version it hangs after the password. proftpd -V Compile-time... (6 Replies)
Discussion started by: slufoot80
6 Replies

10. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
PTHREAD_ATTR_SETINHERITSCHED(3) 			     Linux Programmer's Manual				   PTHREAD_ATTR_SETINHERITSCHED(3)

NAME
pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get inherit scheduler attribute in thread attributes object SYNOPSIS
#include <pthread.h> int pthread_attr_setinheritsched(pthread_attr_t *attr, int inheritsched); int pthread_attr_getinheritsched(pthread_attr_t *attr, int *inheritsched); Compile and link with -pthread. DESCRIPTION
The pthread_attr_setinheritsched() function sets the inherit scheduler attribute of the thread attributes object referred to by attr to the value specified in inheritsched. The inherit scheduler attribute determines whether a thread created using the thread attributes object attr will inherit its scheduling attributes from the calling thread or whether it will take them from attr. The following values may be specified in inheritsched: PTHREAD_INHERIT_SCHED Threads that are created using attr inherit scheduling attributes from the creating thread; the scheduling attributes in attr are ignored. PTHREAD_EXPLICIT_SCHED Threads that are created using attr take their scheduling attributes from the values specified by the attributes object. The default setting of the inherit scheduler attribute in a newly initialized thread attributes object is PTHREAD_INHERIT_SCHED. The pthread_attr_getinheritsched() returns the inherit scheduler attribute of the thread attributes object attr in the buffer pointed to by inheritsched. RETURN VALUE
On success, these functions return 0; on error, they return a nonzero error number. ERRORS
pthread_attr_setinheritsched() can fail with the following error: EINVAL Invalid value in inheritsched. POSIX.1-2001 also documents an optional ENOTSUP error ("attempt was made to set the attribute to an unsupported value") for pthread_attr_setinheritsched(). CONFORMING TO
POSIX.1-2001. BUGS
As at glibc 2.8, if a thread attributes object is initialized using pthread_attr_init(3), then the scheduling policy of the attributes object is set to SCHED_OTHER and the scheduling priority is set to 0. However, if the inherit scheduler attribute is then set to PTHREAD_EXPLICIT_SCHED, then a thread created using the attribute object wrongly inherits its scheduling attributes from the creating thread. This bug does not occur if either the scheduling policy or scheduling priority attribute is explicitly set in the thread attributes object before calling pthread_create(3). EXAMPLE
See pthread_setschedparam(3). SEE ALSO
sched_setscheduler(2), pthread_attr_init(3), pthread_attr_setschedparam(3), pthread_attr_setschedpolicy(3), pthread_create(3), pthread_setschedparam(3), pthread_setschedprio(3), pthreads(7) COLOPHON
This page is part of release 3.44 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2012-03-15 PTHREAD_ATTR_SETINHERITSCHED(3)
All times are GMT -4. The time now is 02:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy