Launchctl slow on ssh to server

Hi,
I'm running an OS X 10.5.8 server. When my users ssh into it, it can take up to about 10 seconds before they see a prompt.
I've turned on debug for ssh and see it's pausing at the "Entering interactive session", looking at the server at this point, the "launchctl" process in running for the user that just logged in.
So, can I track this down further as to why launchctl is taking about 10 seconds to start up before the ssh prompt comes back? I'm assuming it's trying to start up per-user launch daemons and agents?
Is it a known problem that launchctl is so slow? (This is especially irritating because we use the "git" scm tool over ssh!)
Thanks for any help or advice.
Cheers,
Steve

Hi,
I use ssh and git daily. I don't see a delay on ssh unless I have a DHCP connection and haven't reloaded the host key in the .ssh/known_hosts file on the client. Locating the receiver of the ssh connection can be delayed if there is a DNS issue to be resolved.
You could try assigning a manual fixed IP address to the client, update the known_hosts file on the server and then perform an ssh login.
HTH,
Harry

Similar Messages

  • FTP Adapter where FTP server is SSH Tectia Server for IBM z/OS

    We are purchasing "SSH Tectia Server for IBM z/OS" as the secure FTP server.
    1. Has anyone used this with Oracle FTP Adapter to securely FTP files to the mainframe?
    2. What is the best way to maintain the username and password in the oc4j-ra.xml of the FTP adapter?
    3. Can this user and password be encrypted?
    Thanks

    HI,
    Unfortunately there are some concerns with FTPS connectivity with XI.
    As you know SFTP is not yet possible with XI, but somehow you could use FTPS.
    Please confirm below things this may help you
    1. Please make sure to Activate Secure Storage in the File System after Deploying the SAP Java Cryptographic Toolkit. Check below thread for the detail procedure
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/14c93ec2f7df6ae10000000a114084/content.htm
    2. You can go for Third Part adapters such as Seeburger adapter AS2, OFTPS etc. for better connectivity with FTPS
    refer
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    3. Search the options of your client's software to find where its public and private keys are stored, these are 2 files present on the FTP server, then put the Public key of the XI server on the Client FTP Server and likewise for the Public Key of the FTP Server on the XI Server.
    This enables the SSL handshake, i.e. Exchange of certificates.
    Thanks
    Swarup

  • Why index creation is slower on the new server?

    Hi there,
    Here is a bit of background/env info:
    Existing prod server (physical): Oracle 10gR2 10.2.0.5.8 on ASM
    RAM: 96GB
    CPUs: 8
    RHEL 5.8 64bit
    Database size around 2TB
    New server:
    VMWare VM with Oracle 10gR2 10.2.0.5.8 on ASM
    RAM 128GB
    vCPUs: 16
    RHEL 5.8 64bit
    Copy of prod DB (from above server) - all init param are the same
    I noticed that Index creation is slower on this server. I ran following query:
    SELECT name c1, cnt c2, DECODE (total, 0, 0, ROUND (cnt * 100 / total)) c3
      FROM (SELECT name, VALUE cnt, (SUM (VALUE) OVER ()) total
              FROM v$sysstat
             WHERE name LIKE 'workarea exec%')
    C1
    C2
    C3
    workarea executions - optimal
    100427285
    100
    workarea executions - onepass
    2427
    0
    workarea executions - multipass
    0
    0
    Following bitmap index takes around 40mins in prod server while it takes around 2Hrs on the VM.
    CREATE BITMAP INDEX MY_IDX ON
    MY_HIST(PROD_YN)  TABLESPACE TS_IDX PCTFREE 10
    STORAGE(INITIAL 12582912 NEXT 12582912 PCTINCREASE 0 ) NOLOGGING
    This index is created during a batch-process and the dev team is complaining of slowness of the batch on new server. I have found this one statement responsible for some of the grief. There may be more and I am investigating.
    I know that adding "parallel" option may speedup but I want find out why is it slow on the new server.
    I tried creating a simple index on a large table and it took 2min in prod and 3.5min on this VM. So I guess index creation is slower on this VM in general. DMLs (select/insert/delete/update) seem to work with better elapsed time.
    Any clues what might be causing this slowness in index creation?
    Best regards

    I have been told that the SAN in use by the VM has capacity of 10K IOPS. Not sure of this info helps. I don't know more than this about the storage.
    What else do I need to find out? Please let me know - I'll check with my Sys Admin and update the thread.
    Best regards

  • Slow connection in one server if accessing through Cisco ACE

    Hi,
    Good day, Can someone help me on my problem? I have 3 servers, server1, server2 and server3. When one pc accessing the server 3 application via Cisco ACE, it experienced a slow connection but when direct access without Cisco Ace, it's fast. The connection of this PC through cisco ace and direct access have no issue.
    What need to do in my configuration? Below is my configuration
    logging enable
    logging timestamp
    logging trap 7
    logging buffered 7
    logging monitor 7
    logging host 167.81.126.5 udp/514
    logging host 137.55.152.147 udp/514
    resource-class SG_01
      limit-resource all minimum 0.00 maximum unlimited
      limit-resource sticky minimum 10.00 maximum equal-to-min
    boot system image:c4710ace-mz.A3_2_0.bin
    login timeout 30
    peer hostname singapore-ace2
    hostname singapore-ace1
    interface gigabitEthernet 1/1
      channel-group 14
      no shutdown
    interface gigabitEthernet 1/2
      channel-group 14
      no shutdown
    interface gigabitEthernet 1/3
      channel-group 14
      no shutdown
    interface gigabitEthernet 1/4
      channel-group 14
      no shutdown
    interface port-channel 14
      description ISOLAN-ACE-TRUNK
      ft-port vlan 99
      switchport trunk native vlan 1
      switchport trunk allowed vlan 12,14,112
      no shutdown
    clock timezone SGT 8 0
    ntp server 137.55.152.1
    context Admin
      member SG_01
    access-list ALL line 8 extended permit ip any any
    access-list ALL line 9 extended permit icmp any any
    ip domain-name ysn.psg.philips.com
    probe http singapore_01
      description This probe used to monitor application url-app-script
      interval 5
      passdetect interval 5
      request method get url /insiteserverstatus/insiteserverstatus.aspx
      expect status 200 200
      open 1
    probe http singapore_02
      description This probe used to monitor IIS-login-page
      interval 5
      passdetect interval 5
      request method get url /InSiteLumiledsApplication/
      expect status 200 200
      open 1
    probe icmp uplink
      description This probe used in conjunction with ft track host
      interval 2
      faildetect 2
      passdetect interval 3
    parameter-map type connection PARAM_L4STICKY-IP
      exceed-mss allow
    rserver host sggysnysn1ms013
      ip address 137.55.152.135
      inservice
    rserver host sggysnysn1ms014
      ip address 137.55.152.136
      inservice
    rserver host sggysnysn1ms018
      ip address 137.55.152.145
      inservice
    serverfarm host PLI9058
      probe singapore_01
      probe singapore_02
      rserver sggysnysn1ms013
        inservice
      rserver sggysnysn1ms014
        inservice
      rserver sggysnysn1ms018
        inservice
    sticky ip-netmask 255.255.255.255 address both SG_GROUP_01
      timeout 720
      replicate sticky
      serverfarm PLI9058
    class-map type management match-any HTTPS-ALLOW_CLASS
    class-map match-all L4STICKY-IP_141:ANY_CLASS
      2 match virtual-address 137.55.152.141 any
    class-map type http loadbalance match-any NO_MS018
      50 match source-address 137.55.155.31 255.255.254.0
    class-map type management match-any SSH-ALLOW_CLASS
      2 match protocol ssh source-address 167.81.124.0 255.255.255.192
      3 match protocol ssh source-address 167.81.126.0 255.255.255.192
    class-map type management match-any remote_access
      2 match protocol xml-https any
      3 match protocol icmp any
      5 match protocol ssh any
      6 match protocol http any
      7 match protocol https any
      8 match protocol snmp any
    policy-map type management first-match remote_mgmt_allow_policy
      class remote_access
        permit
    policy-map type loadbalance first-match L7PLBSF_STICKY-NETMASK_POLICY
      class class-default
        sticky-serverfarm SG_GROUP_01
        insert-http X-Forwarded-For header-value "%is"
    policy-map multi-match PLI9058-VIPs_POLICY
      class L4STICKY-IP_141:ANY_CLASS
        loadbalance vip inservice
        loadbalance policy L7PLBSF_STICKY-NETMASK_POLICY
        loadbalance vip icmp-reply
        connection advanced-options PARAM_L4STICKY-IP
    interface vlan 12
      description Client-side vlan
      bridge-group 1
      no normalization
      mac-sticky enable
      access-group input ALL
      access-group output ALL
      service-policy input PLI9058-VIPs_POLICY
      no shutdown
    interface vlan 14
      ip address 137.55.152.236 255.255.255.248
      peer ip address 137.55.152.237 255.255.255.248
      service-policy input remote_mgmt_allow_policy
      no shutdown
    interface vlan 112
      description Server-side vlan
      bridge-group 1
      no normalization
      access-group input ALL
      access-group output ALL
      nat-pool 1 137.55.152.141 137.55.152.141 netmask 255.255.255.192 pat
      no shutdown
    interface bvi 1
      ip address 137.55.152.189 255.255.255.192
      alias 137.55.152.188 255.255.255.192
      peer ip address 137.55.152.190 255.255.255.192
      description Bridge-Group 1 Virtual Interface
      no shutdown
    ft interface vlan 99
      ip address 192.168.1.1 255.255.255.252
      peer ip address 192.168.1.2 255.255.255.252
      no shutdown
    ft peer 1
      heartbeat interval 100
      heartbeat count 10
      ft-interface vlan 99
    ft group 1
      peer 1
      priority 150
      peer priority 50
      associate-context Admin
      inservice
    ft track host test1
      track-host 137.55.152.234
      peer track-host 137.55.152.235
      peer probe uplink priority 50
      probe uplink priority 50
    ip route 0.0.0.0 0.0.0.0 137.55.152.233

    Hi Earsdale,
    All the three servers are using the same configuration, so, I'm afraid it's not possible to give you a simple answer. You will need more troubleshooting.
    I would recommend you to start by checking the differences between the servers because one of those differences is certainly causing the failure.
    Also, it would be helpful to get traffic captures on the TenGig interface of the ACE to compare the behavior of the connection when going to the different servers, as well as the differences when being load-balanced vs accessing the server directly.
    If you need help with this troubleshooting, you can always open a TAC service request
    Regards
    Daniel

  • My Adobe Muse website wont publish, it's running slow and showing a server error

    I've had a website in adobe muse that I've published many times before with no errors. After publishing, It tries to upload the site and loads it very slow and stops at about 69% and says the server is not connected, even though I have internet, checked the firewall and updated the cache in explorer. I was able to upload another website that I have on Muse, it loaded slowly also, stopped at 97%, I resumed it and it loaded.  What to do next?

    The site is hosted through business catalyst: northstarconservancy.org. I've had no issues with this website in three years and have been able to edit and publish with no problems. It shows a server error and says to check my network connection. I noticed that adobe was working on their server the night before I had this issue, so I will probably have to call the tech support and see whats up with it, since it seems related. Thanks, Amanda

  • Slow browsing on windows server

    I upgraded 4 stations that were running under Tiger to Lion and now the browsing of my Windows server via the Finder is awfully slow. I've a read a number of so-called fixex whcih none seems to work for everyone.

    Is the problem only with files from the server?
    Do downloads from the internet go any faster?
    Allan

  • It's very slow to access file server after installed SP1 of Win7.

    I found it's become very slow to access shared files on file server after installed win7 SP1, (windows6.1-KB976932-X86.exe),  access same file, the win7 without sp1 is fast in 5 secs, but the pc with sp1 need more than 30 secs. And
    I tried to removed the sp1, everything goes fine, access fast as others.
    I don't understand what's the reason and which feature affected it, I believe the sp1 can help Win7 be more safety, but why the performance on it get worse.
    And I didn't find the same question or tips on forum or website, do you really haven't the issue?
    Arnold From Shanghai, China
    Arnold Yu

    Hi Arnold,
    Windows 7 Service pack and any other Windows Updates are released to improve the performance, reliability and security of the system.
    Firstly please run the performance troubleshooter:
    Open the Performance troubleshooter
    http://windows.microsoft.com/en-US/windows7/Open-the-Performance-troubleshooter
    If it doesn't resolve the issue, Put the computer in
    Clean Boot and then check to see if the issue persists.
    If it still persists, please use performance monitor to trace your computer's performance:
    Performance Monitoring Getting Started Guide
    http://technet.microsoft.com/en-us/library/dd744567(v=ws.10).aspx
    Karen Hu
    TechNet Community Support

  • Slow Files Copy File Server DFS Namespace

    I have two file servers running on VM both servers are on different physical servers.
    Both connect with dfs namespace.
    The problem part is both servers never have same copy speed.
    Sometime very slow files copy about 1MBps on FS01 and fast copy 12MBps on FS02.
    Sometime fast on FS01 and slow on FS02.
    Sometime both of them slow..
    So as usual I reboot the servers. Doesn't work.
    Then I reboot the DC01 also doesn't work. There is another brother DC02.
    After I reboot DC02, one of the FS become normal and another FS still slow.
    FS01 and FS02 randomly. They never get faster speed together.
    Users never complain slow FS because 1MBps is acceptable for them to open word excel etc.,.
    The HUGE problem is I don't have backup when the slow FS days.
    The problem since two weeks I'm giving up fixing it myself and need help from you expert guys.
    Thanks!
    DC01, DC02, FS01, FS02 (Win 2012 and All VMs)

    Hi,
    Since the slow copy is also occurred when you tried the direct copy from both shared folder, you could enable the disk write cache on the destination server to check the results.
    HOW TO: Manually Enable/Disable Disk Write Caching
    http://support.microsoft.com/kb/259716
    Windows 2008 R2 - large file copy uses all available memory and then tranfer rate decreases dramatically (20x)
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/3f8a80fd-914b-4fe7-8c93-b06787b03662/windows-2008-r2-large-file-copy-uses-all-available-memory-and-then-tranfer-rate-decreases?forum=winservergen
    You could also refer to the FAQ article to troubleshoot the slow copy issue:
    [Forum FAQ] Troubleshooting Network File Copy Slowness
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/7bd9978c-69b4-42bf-90cd-fc7541ccb663/forum-faq-troubleshooting-network-file-copy-slowness?forum=winserverPN
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Slow RD connection to server via RD Gatway if NLA is disabled on the server

    If I disable NLA on a server (tried on 2 different servers), the rd connection (via gateway only) is much slower (over 1 min to get to the logon screen).
    RD Gateways are 2012R2, hosts are 2012 and 2012 R2.
    Re-enabling NLA fixes the issue. Any ideas?
    Dario Palermo

    Hi Dario,
    Putting the gatewayusagemethod:i:1 in the .rdp file will force the RD Client to use the gateway always and thus speed up the connection time. When connecting from the Internet, as a test, please uncheck Bypass RD Gateway server for local addresses in the RD
    Client options--Advanced tab--RD Gateway settings.
    Please try “Require user authentication for remote connections by using Network Level Authentication” policy setting under below path.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security
    Configure Network Level Authentication for Remote Desktop Services Connections
    https://technet.microsoft.com/en-us/library/cc732713.aspx
    Addition you can check for “Network security: LAN Manager authentication level”
    https://technet.microsoft.com/en-us/library/cc738867(v=ws.10).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Unable to SSH to Server with terminal, Putty Works (SOLVED)

    Hi all,
    I am unable to ssh to a remote server from the terminal, when I try with Putty it works,  heres the output of ssh -v
    OpenSSH_6.3, OpenSSL 1.0.1e 11 Feb 2013
    debug1: Reading configuration data /root/.ssh/config
    debug1: /root/.ssh/config line 49: Applying options for testing
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 20: Applying options for *
    debug1: Connecting to ********* [*********] port 22.
    debug1: Connection established.
    debug1: permanently_set_uid: 0/0
    debug1: identity file /root/.ssh/************.pem type -1
    debug1: identity file /root/.ssh/************ type -1
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_6.3
    debug1: Remote protocol version 2.0, remote software version OpenSSH_6.1
    debug1: match: OpenSSH_6.1 pat OpenSSH*
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client aes128-ctr hmac-md5 none
    debug1: kex: client->server aes128-ctr hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Server host key: RSA 50:97:e6:ff:44:01:02:ca:e2:b4:38:41:86:42:2c:c2
    debug1: Host '************' is known and matches the RSA host key.
    debug1: Found key in /root/.ssh/known_hosts:4
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: Roaming not allowed by server
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey
    debug1: Next authentication method: publickey
    debug1: Trying private key: /root/.ssh/************.pem
    debug1: read PEM private key done: type RSA
    debug1: Authentication succeeded (publickey).
    Authenticated to ************ ([************]:22).
    debug1: channel 0: new [client-session]
    debug1: Requesting [email protected]
    debug1: Entering interactive session.
    debug1: Sending environment.
    debug1: Sending env LANG = en_US.UTF-8
    I suspect it has something to do with my terminal?  I am using xfce terminal
    Update:
    so following advice from other forum members, I am marking this as solved.  The situation resulted from me installing a new router and this router blocked SSH connections, I search on stackoverflow and tried this fix at
    http://stackoverflow.com/questions/2247 … i-does-not
    I applied the setting to /etc/ssh/ssh_config and it started working again.
    Last edited by zenwong (2013-10-30 08:47:41)

    In addition to marking your thread as solved, you should also give a bit of info on how you came to that concolusion and what that confguration does.  If you have the expectation that posting in these threads might yeild assistance, you should also assume that there is the expectation that you will have the courtesty to make the thread useful for others in the event that you find the solution on your own. https://wiki.archlinux.org/index.php/Fo … way_Street

  • Excel 2010 slow to save on Server 2008 R2 server

    I, like many other users am having slowness when saving and opening excel and word docs.  I have a W7 x64 machine and the server is a 2008 R2 x64 machine.  I've tried to apply the hotfix:
     http://support.microsoft.com/kb/981711 but
    when I try to install it, it says "The update is not applicable to your computer".
    Any ideas on what to do?  I made sure it was downloading the x64 version of the patch as well.  
    Thanks in advance.
    Jimmy

    Hi George,
    When I do a search for the two files below, I come up empty handed on my Server 2008 R2 SP1 box.
    ===========
    File name
    File version
    File size
    Date
    Time
    Platform
    Rdbss.sys
      6.1.7600.20713
       719,872
          13-May-2010
    20:01
    x-64
    Mrxsmb20.sys 
      6.1.7600.20713
       305,152
          13-May-2010
    20:01
    x-64
    ===========
    I attempted to disable the SMB 2.0 on my workstation only and it seems to save files like normal now.  I didn't get the saving or downloading message in the splash page.  I don't think disabling SMB 2.0 is a solution is it?  What do I do now? 

  • Slow query on remote server

    Hi
    I am running a query as below;
    INSERT INTO tblEvents( <fields list> )
    SELECT <fields list>
    FROM OPENROWSET('SQLNCLI', 'Server=<ip address>;DATABASE=MyDB;Uid=sa;Pwd=MyPassword;', 'SELECT * FROM tblEvents') AS a
    WHERE (ID = 68596)
    Problem is that below part of query runs very slow (takes around 3 mins to complete) even though it just needs to bring one row.
    SELECT <fields list>
    FROM OPENROWSET('SQLNCLI', 'Server=<ip address>;DATABASE=MyDB;Uid=sa;Pwd=MyPassword;', 'SELECT * FROM tblEvents') AS a
    WHERE (ID = 68596)
    What is the problem and how can I speed it up?
    Thanks
    Regards

    Hi,
    as Ronen already mentioned, the syntax you are using will not push anything from the confition down the provider stack to the data source, it will pull the whole data and the filter it on the client side. (where you execute the query).
    You can either use the syntax that Ronen already pointed out OR use a linked Server along with the existing provider for SQL Server. In most cases the provider is able to push down the conditions to the data source, have it executes here and then bring back
    only the relevant rows. This depends on the query you are using and the ability of the driver to translate the conditions.
    See more on creating linked servers here:
    http://msdn.microsoft.com/en-us/library/aa560998.aspx
    -Jens
    Jens K. Suessmeyer
    http://blogs.msdn.com/Jenss

  • Query very slow on Windows 2003 Server

    Hi,
    Our customer is running 10g on Windows 2003 server. Some queries perform badly. I imported the data into a 10g DB on Linux (at our office) to analyze and test. Strange enough the same query takes more than 10 times longer to run on the Windows machine compared to the Linux. The Windows machine is dedicated to Oracle, it is not 'overloaded'.
    SELECT
    plan_task.id_task,
    plan_task.task_id,
    plan_task.taskdef_y_n,
    plan_task.description,
    plan_task.status,
    plan_task.team_id,
    plan_task.activity_id,
    plan_task.task_start_datetime,
    plan_task.district_id,
    plan_task.task_end_datetime,
    plan_task.taskdef_freq_code,
    plan_task.taskdef_start_time,
    plan_task.taskdef_end_time,
    plan_task.order_nr
    d,
    PREVENT.PLAN_PERSONS_AVAILABLE_SHORT(ID_TASK) PERS_OK,
    PREVENT.PLAN_MATERIALS_AVAILABLE_SHORT(ID_TASK) MAT_OK
    FROM PREVENT.PLAN_TASK
    WHERE (TASKDEF_Y_N='N') AND (TASK_START_DATETIME>=to_date(to_char(SYSDATE,'dd-mm-yyyy'),'dd-mm-yyyy'))
    AND (TASK_START_DATETIME<to_date(to_char(SYSDATE,'dd-mm-yyyy'),'dd-mm-yyyy')+1)
    ORDER BY DESCRIPTION;
    On LINUX (Intel 2 GHz, 2 Gb mem) takes 0,5 seconds to execute (46 rows returned)
    ================================================================================
    Plan
    SELECT STATEMENT ALL_ROWSCost: 27 Bytes: 2,436 Cardinality: 29                     
         4 SORT ORDER BY Cost: 27 Bytes: 2,436 Cardinality: 29                
              3 FILTER           
                   2 TABLE ACCESS BY INDEX ROWID TABLE PREVENT.PLAN_TASK Cost: 26 Bytes: 2,436 Cardinality: 29      
                        1 INDEX RANGE SCAN INDEX PREVENT.PLAN_TASK_START_DATETIME_I Cost: 2 Cardinality: 30
    On WINDOWS (Intel 2 GHz, 2 Gb mem) takes 11 seconds to execute (46 rows returned)
    =================================================================================
    Plan
    SELECT STATEMENT ALL_ROWSCost: 35 Bytes: 3,276 Cardinality: 39                     
         4 SORT ORDER BY Cost: 35 Bytes: 3,276 Cardinality: 39                
              3 FILTER           
                   2 TABLE ACCESS BY INDEX ROWID TABLE PREVENT.PLAN_TASK Cost: 34 Bytes: 3,276 Cardinality: 39      
                        1 INDEX RANGE SCAN INDEX PREVENT.PLAN_TASK_START_DATETIME_I Cost: 2 Cardinality: 40
    NOTEs:
    - The data is exactly the same on both machines
    - I analyzed_schema on both machines/DB's before running the query
    - The SGA size en DB_BUFFERS are (almost) set to the same value
    - Oracle version is the same: 10g

    On Windows:
    - I exported the data
    - Re-created my 2 tablespaces, to set: extent management local, uniform 1M
    - imported the data
    - dbms_stats.gather_schema_stats( option=>'GATHER')
    Plan
    SELECT STATEMENT ALL_ROWSCost: 36 Bytes: 3,32 Cardinality: 40                     
         4 SORT ORDER BY Cost: 36 Bytes: 3,32 Cardinality: 40                
              3 FILTER           
                   2 TABLE ACCESS BY INDEX ROWID TABLE PREVENT.PLAN_TASK Cost: 35 Bytes: 3,32 Cardinality: 40      
                        1 INDEX RANGE SCAN INDEX PREVENT.PLAN_TASK_START_DATETIME_I Cost: 2 Cardinality: 41
    Tested, takes 7 seconds now (was 11), but this is still slow compared to the run on Linux
    Grt, Stephan
    Edited by: Stephan van Hoof on Jan 9, 2009 8:41 PM

  • Swing app in JDK6 continues to rendering slow in Windows Terminal Server

    Hi,
    Because Swing apps create interfaces internally and not using default OS APIs,
    when running into a Windows Terminal Server client, there is no way to optimize
    rendering. Windows Terminal Server and Linux FreeNX use a mechanism to send
    to client only commands to render the windows. But, because the way Swing works,
    not totally integrated to OS APIs, it's not possible for terminal servers to do this,
    and these servers render Swing like images, something like VNC do, very slower than.
    I have tested native apps and AWT apps, and the difference is very significant,
    something like 50-70% faster.
    Is there some project in Swing APIs or java.net open-sources to better this?

    We are also seeing this issue with a Compiere implementation. With 10 distributed sites across the US, our client wanted to use Windows Terminal Services to simplify the client desktop management of the Swing application.
    But performance is terrible...and screen painting issues a real problem. We are also on JDK5 still, so I'm discouraged to see that JDK6 doesn't appear to offer much improvement?
    Is there any project afoot to address this issue for installations using terminal services?
    Thanks,
    Peter

  • How to specify port when ssh to server

    Hi all.
    I have a server that I am configuring, and one of the steps I'm taking is to change the default ssh port from 22 to another port to elude the script kiddies.
    When I ssh to the server in Terminal, I'm having issues connecting (while I don't using Putty in winblows).
    I think it is because I'm not specifying the port correctly.
    Does anyone here know the correct syntax in Terminal to specify a different port than 22?
    I've used ":" and "[]", so I'm at a loss at the moment...

    Hi--
    Does anyone here know the correct syntax in Terminal
    to specify a different port than 22?
    <pre class="command">ssh -p 1234 [email protected]</pre>assuming you're just doing a straight login to a command-line, has always worked for me.
    By the way, if you're new to the Terminal, most of the commands you'll run in the Terminal have really good man pages. Just type:
    <pre class="command">man ssh</pre>to see it.
    If you know what you're looking for, it's right there in the last line of the synopsis:
    <pre class="command">SYNOPSIS
    ssh [-1246AaCfgkNnqsTtVvXxY] [-b bind_address] [-c cipher_spec] [-D port]
    [-e escape_char] [-F configfile] [-i identity_file]
    [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]
    [-p port] [-R port:host:hostport] [user@]hostname [command]
    </pre>If you're not sure what you're looking for, you can often find it a bit lower down. Unfortunately, in the case of ssh, it has a long man page, so you have to go quite a bit further down to find it:
    <pre class="command"> -p port
    Port to connect to on the remote host. This can be specified on
    a per-host basis in the configuration file.</pre>
    Have fun,
    charlie

Maybe you are looking for

  • How to find connecting line

    Hi, I have a spatial table with geom type as 2002. I have a set of line (for example lets say it is 5 rows) attach image. I need to find line that is inner connecting to these 5 rows. What I mean is a boundary line has inner line. I am unable to get

  • Warning 10.4.3 upgrade delete System & Users Squirrelmail config files.

    Just installed the 10.4.3 upgrade. After the upgrade was done I noticed WebMail settings was back to default. So I had to set everything up again. But what makes me angry is all the users preferences has been reset aswell. I haven't read anything abo

  • Creating Style Sheets for Existing Text

    Can I get some advice on what would be the easiest way to create and apply style sheets to a document that was layed out w/o any? My Art Director layed out a dozen pages of actual type w/o any style sheets. It's a pretty basic layout with Headers, Su

  • I need to re-install iPhoto

    I updated my OSX 6.8 MacBook pro to iTunes 11 and all systems ended up frozen. I have reinstalled and up graded Snow Leopard but cannot redownload iTunes from the App Store. Can anyone help?

  • Comments on MacBook Pages– how can I make them visible for all users?

    When I use Pages on my MacBook, the comments show up as black text in a yellow box on my computer, but when I export it as a .doc and email it to others, it shows up as white text on yellow for some PC users. This makes it hard for them to read my fe