Slow projector creation

I am creating a projector for a large application (85MB). The
creation of the projector is far too slow. This application would
usually take 1hr(max). It is now taking 6-8hrs with my usual
settings and very little changed from the previous version. Any
help?
Kind regards,
Duncan

Xposure Interactive wrote:
> I am creating a projector for a large application
(85MB). The creation of the
> projector is far too slow. This application would
usually take 1hr(max). It is
> now taking 6-8hrs with my usual settings and very little
changed from the
> previous version. Any help?
> Kind regards,
> Duncan
may be too later for this project but, for the next one you
can split it
into several movies. easier to develop/debug/maintain
to solve this one, you can use a stub projector that calls
your big
movie so you'll only need to protect it when finished

Similar Messages

  • Slow user creation when an organization has approvers

    Hello everybody,
    Just before a month ago, I started having performance problems when I had to deal with user creation, edit and delete. Specially the user creation was extremely slow ( 7 minutes !!! ).
    This "little" latency occurs only when I create users in organizations that have approvers. if there are no approvers then there's no latency.
    By examining the machine perfomance at the O/S level the machine was idle.
    I running idm 7.1 installed in solaris 10 with mysql 4 backened.
    Any oppinion why this latency occur ?

    Login to portal...
    Navigate to User Admin -> Identity Management ...
    search for your user...and select Account information...
    there you will get "Date of Account Creation:"
    Alternatively login to :
    http://<host>:<port>/webdynpro/dispatcher/sap.com/tcsecumewdumeadmin/UmeAdminApp
    If somebody can let us know...how to find "who created the user"...this will be informative for me as well......

  • Slow iView Creation

    When creating a new iView in the Content Administration -> Portal Content tab, going from step1 (source type) to step2 (page creation) is very slow.  The time to load the step2 page can easily run 30 minutes or more.  Normally this occurs on the first time creating an iView after entering the Portal Content tab.
    Any ideas on how to speed this up?

    Hello,
    did you find any solution to this problem? Since a few days, we experience the same. I think it has something to do with LDAP, since the only change that happened in the last days is that we "portal-enabled" around 2500 users in our active directory.
    I would really appreciate any help with this issue... Thanks!
    Regards,
    Markus

  • Slow table creation after upgrade from 10.2.0.3 to 11.2.0.1 using DBUA

    I've recently completed a database upgrade from 10.2.0.3 to 11.2.0.1 using the DBUA.
    I've since encountered a slowdown when running a script which drops and recreates a series of ~250 tables. The script normally runs in around 19 seconds. After the upgrade, the script requires ~2 minutes to run.
    By chance has anyone encountered something similar?
    The problem may be related to the behavior of an "after CREATE on schema" trigger which grants select privileges to a role through the use of a dbms_job call; between 10g and the database that was upgraded from 10G to 11g. Currently researching this angle.
    I will be using the following table creation DDL for this abbreviated test case:
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA;When calling the above DDL, an "after CREATE on schema" trigger is fired which schedules a job to immediately run to grant select privilege to a role for the table which was just created:
    create or replace
    trigger select_grant
    after CREATE on schema
    declare
        l_str varchar2(255);
        l_job number;
    begin
        if ( ora_dict_obj_type = 'TABLE' ) then
            l_str := 'execute immediate "grant select on ' ||
                                         ora_dict_obj_name ||
                                        ' to select_role";';
            dbms_job.submit( l_job, replace(l_str,'"','''') );
        end if;
    end;
    {code}
    Below I've included data on two separate test runs.  The first is on the upgraded database and includes optimizer parameters and an abbreviated TKPROF.  I've also, included the offending sys generate SQL which is not issued when the same test is run on a 10g environment that has been set up with a similar test case.  The 10g test run's TKPROF is also included below.
    The version of the database is 11.2.0.1.
    These are the parameters relevant to the optimizer for the test run on the upgraded 11g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.2.0.1
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          03-11-2010 16:33
    SYSSTATS_INFO        DSTOP                           03-11-2010 17:03
    SYSSTATS_INFO        FLAGS                         0
    SYSSTATS_MAIN        CPUSPEEDNW           713.978495
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM               1565.746
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED                   2310
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Output from TKPROF on the 11g SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 324
    {code}
    ... large section omitted ...
    Here is the performance hit portion of the TKPROF on the 11g SID:
    {code}
    SQL ID: fsbqktj5vw6n9
    Plan Hash: 1443566277
    select next_run_date, obj#, run_job, sch_job
    from
    (select decode(bitand(a.flags, 16384), 0, a.next_run_date,
      a.last_enabled_time) next_run_date,       a.obj# obj#,
      decode(bitand(a.flags, 16384), 0, 0, 1) run_job, a.sch_job  sch_job  from
      (select p.obj# obj#, p.flags flags, p.next_run_date next_run_date,
      p.job_status job_status, p.class_oid class_oid,      p.last_enabled_time
      last_enabled_time, p.instance_id instance_id,      1 sch_job   from
      sys.scheduler$_job p   where bitand(p.job_status, 3) = 1    and
      ((bitand(p.flags, 134217728 + 268435456) = 0) or
      (bitand(p.job_status, 1024) <> 0))    and bitand(p.flags, 4096) = 0    and
      p.instance_id is NULL    and (p.class_oid is null      or (p.class_oid is
      not null      and p.class_oid in (select b.obj# from sys.scheduler$_class b
                               where b.affinity is null)))   UNION ALL   select
      q.obj#, q.flags, q.next_run_date, q.job_status, q.class_oid,
      q.last_enabled_time, q.instance_id, 1   from sys.scheduler$_lightweight_job
      q   where bitand(q.job_status, 3) = 1    and ((bitand(q.flags, 134217728 +
      268435456) = 0) or         (bitand(q.job_status, 1024) <> 0))    and
      bitand(q.flags, 4096) = 0    and q.instance_id is NULL    and (q.class_oid
      is null      or (q.class_oid is not null      and q.class_oid in (select
      c.obj# from sys.scheduler$_class c                          where
      c.affinity is null)))   UNION ALL   select j.job, 0,
      from_tz(cast(j.next_date as timestamp),      to_char(systimestamp,'TZH:TZM')
      ), 1, NULL,      from_tz(cast(j.next_date as timestamp),
      to_char(systimestamp,'TZH:TZM')),     NULL, 0   from sys.job$ j   where
      (j.field1 is null or j.field1 = 0)    and j.this_date is null) a   order by
      1)   where rownum = 1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.47       0.47          0       9384          0           1
    total        3      0.48       0.48          0       9384          0           1
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  COUNT STOPKEY (cr=9384 pr=0 pw=0 time=0 us)
          1   VIEW  (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=6615380 card=194570)
          1    SORT ORDER BY STOPKEY (cr=9384 pr=0 pw=0 time=0 us cost=5344 size=11479630 card=194570)
    194790     VIEW  (cr=9384 pr=0 pw=0 time=537269 us cost=2563 size=11479630 card=194570)
    194790      UNION-ALL  (cr=9384 pr=0 pw=0 time=439235 us)
        231       FILTER  (cr=68 pr=0 pw=0 time=920 us)
        231        TABLE ACCESS FULL SCHEDULER$_JOB (cr=66 pr=0 pw=0 time=690 us cost=19 size=13157 card=223)
          1        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=2 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          1         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
          0       FILTER  (cr=3 pr=0 pw=0 time=0 us)
          0        TABLE ACCESS FULL SCHEDULER$_LIGHTWEIGHT_JOB (cr=3 pr=0 pw=0 time=0 us cost=2 size=95 card=1)
          0        TABLE ACCESS BY INDEX ROWID SCHEDULER$_CLASS (cr=0 pr=0 pw=0 time=0 us cost=1 size=40 card=1)
          0         INDEX UNIQUE SCAN SCHEDULER$_CLASS_PK (cr=0 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 5056)
    194559       TABLE ACCESS FULL JOB$ (cr=9313 pr=0 pw=0 time=167294 us cost=2542 size=2529254 card=194558)
    {code}
    and the totals at the end of the TKPROF on the 11g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          4           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        3      0.00       0.00          0          0          4           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       70      0.00       0.00          0          0          0           0
    Execute     85      0.01       0.01          0         62        208          37
    Fetch       49      0.48       0.49          0       9490          0          35
    total      204      0.51       0.51          0       9552        208          72
    Misses in library cache during parse: 5
    Misses in library cache during execute: 3
       35  user  SQL statements in session.
       53  internal SQL statements in session.
       88  SQL statements in session.
    Trace file: 11gSID_ora_17721.trc
    Trace file compatibility: 11.1.0.7
    Sort options: default
           1  session in tracefile.
          35  user  SQL statements in trace file.
          53  internal SQL statements in trace file.
          88  SQL statements in trace file.
          51  unique SQL statements in trace file.
        1590  lines in trace file.
          18  elapsed seconds in trace file.
    {code}
    The version of the database is 10.2.0.3.0.
    These are the parameters relevant to the optimizer for the test run on the 10g SID:
    {code}
    SQL> show parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.2.0.3
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     8
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    SQL> column sname format a20
    SQL> column pname format a20
    SQL> column pval2 format a20
    SQL> select sname, pname, pval1, pval2 from sys.aux_stats$;
    SNAME                PNAME                     PVAL1 PVAL2
    SYSSTATS_INFO        STATUS                          COMPLETED
    SYSSTATS_INFO        DSTART                          09-24-2007 11:09
    SYSSTATS_INFO        DSTOP                           09-24-2007 11:09
    SYSSTATS_INFO        FLAGS                         1
    SYSSTATS_MAIN        CPUSPEEDNW           2110.16949
    SYSSTATS_MAIN        IOSEEKTIM                    10
    SYSSTATS_MAIN        IOTFRSPEED                 4096
    SYSSTATS_MAIN        SREADTIM
    SYSSTATS_MAIN        MREADTIM
    SYSSTATS_MAIN        CPUSPEED
    SYSSTATS_MAIN        MBRC
    SYSSTATS_MAIN        MAXTHR
    SYSSTATS_MAIN        SLAVETHR
    13 rows selected.
    {code}
    Now for the TKPROF of a mirrored test environment running on a 10G SID:
    {code}
    create table ALLIANCE  (
       ALLIANCEID           NUMBER(10)                      not null,
       NAME                 VARCHAR2(40)                    not null,
       CREATION_DATE        DATE,
       constraint PK_ALLIANCE primary key (ALLIANCEID)
               using index
           tablespace LIVE_INDEX
    tablespace LIVE_DATA
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.01          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.01       0.01          0          2         16           0
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 113
    {code}
    ... large section omitted ...
    Totals for the TKPROF on the 10g SID:
    {code}
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.02          0          0          0           0
    Execute      1      0.00       0.00          0          2         16           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.02          0          2         16           0
    Misses in library cache during parse: 1
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse       65      0.01       0.01          0          1         32           0
    Execute     84      0.04       0.09         20         90        272          35
    Fetch       88      0.00       0.10         30        281          0          64
    total      237      0.07       0.21         50        372        304          99
    Misses in library cache during parse: 38
    Misses in library cache during execute: 32
       10  user  SQL statements in session.
       76  internal SQL statements in session.
       86  SQL statements in session.
    Trace file: 10gSID_ora_32003.trc
    Trace file compatibility: 10.01.00
    Sort options: default
           1  session in tracefile.
          10  user  SQL statements in trace file.
          76  internal SQL statements in trace file.
          86  SQL statements in trace file.
          43  unique SQL statements in trace file.
         949  lines in trace file.
           0  elapsed seconds in trace file.
    {code}
    Edited by: user8598842 on Mar 11, 2010 5:08 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              

    So while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
    I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
    Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
    CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
    I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
    "Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table."

  • Slow context creation

    I seem to be having a problem with connection times progressively getting
              slower as machines are added to the cluster.
              For instance, at one machine my login time is ~.5 secs, at two machines
              login time has increased to ~1.5 secs, and at three machines in the cluster
              login time has increased to ~4.5 secs.
              I am running Weblogic 4.5 service pack 7 on Solaris 8. I am currently using
              jdk 1.2.006 reference implementation. This behavior seems to occur with
              native io on and off.
              Thanks
              R.D.
              

    How are you doing your lookup?
              - prasad
              "R.D. Cole" wrote:
              > I seem to be having a problem with connection times progressively getting
              > slower as machines are added to the cluster.
              >
              > For instance, at one machine my login time is ~.5 secs, at two machines
              > login time has increased to ~1.5 secs, and at three machines in the cluster
              > login time has increased to ~4.5 secs.
              >
              > I am running Weblogic 4.5 service pack 7 on Solaris 8. I am currently using
              > jdk 1.2.006 reference implementation. This behavior seems to occur with
              > native io on and off.
              >
              > Thanks
              > R.D.
              

  • IMPORTANT: FM11 & slow PDF creation - Adobe wants examples

    Note from Kapil Verma, FM's senior product manager:
    Hello Framers,
    Hope you are well. I noticed that some users have reported their observations with slow performance when publishing to PDF with FrameMaker 11 as compared to the previous version of FrameMaker. I wanted to let you know that we have not found such issues when doing internal testing and our customers also did not report this during the beta program.
    However, we wanted to work with you to iron out any potential issues there may be. So, if you are seeing a performance slowdown on your side, we would like to test some more with your files and investigate the issue you may be facing. It will be great if you can send your sample files (along with any details on steps, your environment etc. which will help reproduce the issue) to [email protected] and cc  me ([email protected]). Thanks for your cooperation and we look forward to working with you to resolve any issues there may be.
    Thanks,
    Kapil Verma
    Sr. Product Manager - FrameMaker | FrameMaker Publishing Server

    Based on the number of recent complaints about PDF rendering performance, it rather looks like there might be a problem with the newer FM releases. I can't personally say, because we're still on FM7/Unix, and don't use our FM9/Win764 versions for production.
    Printing to .ps and Distilling separately should help at least get your FM GUI prompt back sooner, and unless Adobe has broken it, the full Acrobat Pro product can be set to have Distiller "watch" directories for new .ps files, and generate PDFs without any user attention.
    It would be interesting to know if the rendering process is multi-threaded to any significant degree. if so, having more cores in your CPU would help.
    I'm also wondering if FM11 gets any benefit from installation on Win64.
    And at the risk of stimulating conspiracy theories, would using Framemaker Server print any faster? I at least presume that it would free up the workstations during print.
    Per-core CPU clocks hit the wall 10 years ago. Per core perf has been creeping up since then, with most of the per-chip gain in the form of more cores. Application coders, however, seem to be assuming that per-core performance is still ramping up at 2x@2yr as a side effect of Moore's Conjecture.

  • Slow socket creation at runtime

    Im writing a program to send a form via http secure socket to a web sever. My code works, but the problem is, once it executes, it take about 40 seconds for the 1st line of code to complete. Is there anything I can do to speed this up?
    Im running j2sdk1.4.0-beta3 (windows98 on PIII 450, 300megs ram, 56k)
    public static boolean login() {
    try
    SSLSocketFactory sslsocketfactory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    System.out.println("1");
    SSLSocket sslsocket = (SSLSocket)sslsocketfactory.createSocket("blah.blah.com", 443);
    System.out.println("sockets created");

    Problem solved.. if anyone cares, this was my final code
    java.security.SecureRandom x = new java.security.SecureRandom();
    x.setSeed(1);
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null,null, x);
    SSLSocketFactory sf1 = sc.getSocketFactory();
    SSLSocket sslsocket = (SSLSocket)sf1.createSocket("blah.blah.com", 443);
    i had a unique situation, i was forced to connect to a secure socket to exchange non secretive info, so security was the least of my worries and speed was most important. Using this, it creates a socket as fast as regular non SSL socket, but it basically lets u connect to a SSL socket with no/very little security. It cut a good 40 sec off the socket creation time.
    thanks for yalls help

  • Slow computer = creation of slow VM?

    I have two virtual machines. Both are 
    Windows Server 2012 R2 64 bit.
    Have the same device settings ( 2GB RAM 1 processor 1 core)
    Created using the same iso
    I use the first vm for work in college/class and the 2nd one for practice that I made at home. Both machines run at different speeds with the first one being next to flawless(even when run from my home laptop) while the 2nd one being horribly slow. I created my class VM using the college computer which I'd say is definitely more powerful than my laptop at home, and my practice vm was created with my home laptop (i7 dual core 4gb ram). Are VMs significantly different from each other in terms of speed depending on the computer that was used to create them? Should I just clone my class vm which works almost perfectly instead of creating a new VM? I hope to be able to work soon on my server administration work for class.
    This is my first post and I'd appreciate any replies.

    I have two virtual machines. Both are 
    Windows Server 2012 R2 64 bit.
    Have the same device settings ( 2GB RAM 1 processor 1 core)
    Created using the same iso
    I use the first vm for work in college/class and the 2nd one for practice that I made at home. Both machines run at different speeds with the first one being next to flawless(even when run from my home laptop) while the 2nd one being horribly slow. I created my class VM using the college computer which I'd say is definitely more powerful than my laptop at home, and my practice vm was created with my home laptop (i7 dual core 4gb ram). Are VMs significantly different from each other in terms of speed depending on the computer that was used to create them? Should I just clone my class vm which works almost perfectly instead of creating a new VM? I hope to be able to work soon on my server administration work for class.
    This is my first post and I'd appreciate any replies.

  • Portal Installed - Slow iView creation etc

    Hi,
    We have just completed the installation of the production EP 7 (2004s) on a new blade server.
    Config
    4 Swap Drives of 5GB each
    OS - 2003 Server standard edition SP1 on C Drive (12GB)
    EP instance installed on a separate netapps drive (40GB)
    *4GB RAM
    In creating a simple new iView it takes 3-4 minutes.
    What could be the reason? Is there a mechanism to improve performance?
    In our previous portal implementation (EP 6) the iView creation etc is very fast. (with a hardware configuration inferior to the one specified above)
    Any advice would be highly appreciated,
    Thanks and Regards,
    Antony.

    Hi,
    Nope actually, we are still encountering this problem. But there is a workaround. Say you have created an iview, you can copy such iview and change the relevant parameters later including the ID, name and all other particulars in order to create new iviews rather than creating new iviews altogether through the wizard.
    The copying activity takes just a couple of seconds.
    Hope this helps..
    Antony.
    P.S. : Reward points would be appreciated.

  • Really, really slow PDF creation

    A new development in the last couple days is that Acrobat PDF Printer and Distiller are starting to take a really long time to create PDF files.
    Basic system info:
    • Win 7 Home Premium
    • CS4 Design Premium (w/Acrobat 9 updated to 9.3.2)
    • Extensis Suitcase Fusion 2 (with auto font activation enabled)
    • 4GB RAM
    • 300 GB HD
    Here's what I'm experiencing:
    Any document printed directly to the Adobe PDF printer is taking roughly 30 minutes to create. It doesn't matter what size the file is I'm printing. For instance, I just typed out the word 'test' in three different fonts (Times New Roman, Verdana and Helvetica LT Std) and tried distilling a PostScript file through Distiller and it took 20 minutes to distill on the Standard preset and then generated the following postscript error (get the same error when printing to Adobe PDF printer):
    %%[ Error: typecheck; OffendingCommand: cshow ]%%
    Stack:
    /T
    {--pop-- --pop-- ct_str1 --exch-- 0 --exch-- --put-- ct_str1 --show--
    {_ct_na _ct_i --get--} --stopped-- {--pop-- --pop--} {_ct_x _ct_y
    --moveto-- 0 --rmoveto--} --ifelse-- /_ct_i _ct_i 1 --add-- --def--
    --currentpoint-- /_ct_y --exch-- --def-- /_ct_x --exch-- --def--}
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    I do have a lot of fonts on my machine (not actively loaded - use Suitcase Fusion to manage): 8079 OTF, 17333 TTF and 4103 T1.
    I can export to PDF just fine from InDesign. Prior to this week, I was experiencing no difficulties. I even went so far to rebuild my entire machine in event I caught some sort of bug that my virus and spyware scanners missed ... no such luck.
    Right now I'm thinking it's one of two things: #1 the new Adobe 9.3.2 patch released this week is gunking something up, or #2 the number of fonts I have resident on my machine are causing Distiller to choke. I did add a bunch of new fonts earlier this week, but none are activated.
    I do have Distiller set up to look at the folders the native fonts are resident, but have tried without as well with no better a result.
    Looking for any ideas you may have.
    Thanks in advance.

    Have a look here, it may help. It addresses possible issues when printing Word 2010 documents with CS4 (no problems) and CS5 (problems).

  • Slow Socket Creation

    Hi all,
    I'm trying to connect to my smtp server with a socket but it takes several minutes to create the socket.
    Here is the code to reproduce my problem :
    public static void main(String[] args) {
              long start,duration;
              ProxySelector.setDefault(null);
              start = System.currentTimeMillis();
              Socket socket = new Socket(Proxy.NO_PROXY);
              duration = System.currentTimeMillis() - start;
              System.out.println("new Socket en " + duration+ "ms");
            // l'adresse IP de la cible
            start = System.currentTimeMillis();
            InetAddress ipAddr;
              try {
                   ipAddr = InetAddress.getByName(CMain.SMTP_SERVER);
            duration = System.currentTimeMillis();
              // Socket de la cible
            start = System.currentTimeMillis();
            InetSocketAddress endPoint = new InetSocketAddress(ipAddr, 25);
            duration = System.currentTimeMillis() - start;
            System.out.println("endPoint en " + duration+ "ms");
            // Socket locale
            if (!socket.isBound()) {
                start = System.currentTimeMillis();
                socket.bind(null);
                duration = System.currentTimeMillis() - start;
                System.out.println("Bind en "+ duration + "ms");
            System.out.println("Est-on connecté? " + socket.isConnected());
            // Création de la connexion
            start = System.currentTimeMillis();
            socket.connect(endPoint);
            duration = System.currentTimeMillis() - start;
            System.out.println("Connexion à " + CMain.SMTP_SERVER + ": 25 en "+ duration + "ms");
            // Properties of the current socket
            System.out.println("Socket: " + socket);
            socket.close();
              } catch (UnknownHostException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    The output :
    new Socket en 189001ms
    endPoint en 0ms
    Bind en 0ms
    Est-on connecté? false
    Connexion à 127.0.0.1 : 25 en 0ms
    Socket: Socket[addr=localhost/127.0.0.1,port=25,localport=35106]Java version :
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)My /etc/hosts file :
    127.0.0.1       localhost
    XX.XXX.XXX.XXX    XXXXX
    # The following lines are desirable for IPv6 capable hosts
    XXXXXX ::1     ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhostsMy OS is debian 4.0.
    When I telnet my smtp server, the connection is immediate.
    Thanks you for any help

    No idea of what file I should configure on my server?
    I must have made something wrong but I don't know what?
    Thanks for any advice

  • Slow connection creation to the db

    Hi all,
    every new connection to an oracle9i server takes about 3000ms?!? when connected, to execute a query, it takes about 10ms-100ms? when executing the connect command (let say from SQLPlus), it takes 3000ms again.
    any ideas? any help will be appriciated.
    thanks,
    GHOZ

    Hopefully, this note will help:
    fact: MS Windows 2000
    fact: Standalone machine (not on a domain)
    fact: Oracle Net Services 8.1
    fact: Oracle Net Services 9
    fact: SQL*Plus
    fact: SQLNET.AUTHENTICATION_SERVICES=(NTS)is set in SQLNET.ORA file
    symptom: Intial Sql*plus connection to local or remote instance takes up to
    15 seconds
    symptom: Connections within a running Sql*plus session established
    immediately
    cause: If SQLNET.AUTHENTICATION_SERVICES=(NTS) is set, the O/S sends out a
    NBNS (NetBios Name Services) broadcast for the new connection. Depending on the
    needed time of the NBNS query it can take several seconds until the connection
    is established.
    fix:
    Implement one of the following solutions.
    1. Change the SQLNET.AUTHENTICATION_SERVICES value to (NONE)
    or
    2. Add the machine into a domain
    or
    3. Disable 'NetBios over TCP' on the machine
    (Note: You may need additional entries in the hosts file for hostname
    resolution.
    Check if you are using other services which rely on NetBios. They may not work
    after NetBios is disabled)
    Best regards
    Werner

  • External job runs slow

    I have an external job which runs a shell script which copies a small file from one directory to another.
    This script takes 100 ms to run when executed from shell, but takes 2 whole seconds when being executed through the external job.
    The job uses a program with two arguments (from_dir, to_dir).
    Before I dive into tracing and analyzing the job session, does anyone have experience with this scenario?

    Hi,
    This may be caused by slow process creation time on the OS. If this is the case there may not be much you can do about this if it is just process creation overhead.
    Thanks,
    Ravi.

  • Problem switching between applications

    Hi,
    Don't know if anyone can shed any light on this...
    I am working on a Director project that has to link to and
    open Word DOCs. I have a problem whereby when a DOC is opened, the
    Mac does not seem to be switching properly into Word. What happens
    is: click thumbnail (running handler to open DOC, using Buddy API
    xtra); Word starts to open the DOC; DOC window appears in front of
    projector Window, but the Mac titlebar seems to 'stick' in the
    projector. I can edit the DOC, use keyboard commands to save etc.,
    but no menus are visible due to the 'ProjectorName.osx' title bar.
    I can switch to Word with Apple-tab, but not by clicking in the
    Word window(s).
    A few extra notes:
    • The projector resizes the screen to 800x600, but even
    with this feature disabled the problem persists.
    • I have tried creating a projector with the Full
    Screen option checked and unchecked, and with the visible title bar
    option checked and unchecked - no difference.
    • The problem has just arisen; essentially identical
    projectors (ie. differences are only in graphics) have run OK.
    • We have used a couple of different xtras to open the
    files, for reasons unconnected with this issue. However we have
    been using BuddyAPI for a while, so I am reasonably sure that the
    problem is not related to this.
    • Ensuring that unnecessary apps are closed, to ensure
    plenty of free memory, makes no difference.
    Paul

    Stop press:
    It seems the problem is related to the Full Screen option in
    projector creation. (While previous full screen projectors based on
    the same movie did not show the problem, since the issue came up
    non-full screen projectors work OK, and full screen one don't .
    Unfortunately I need to use full screen mode as I don't want a
    title bar at the top of the screen, and want to use the full
    (re-sized to 800x600 screen area.

  • Including SWF files

    Im not sure if i post in right category but ill give it a
    try.
    How, in simplest way, if at all possible, to include sub-SWF
    files in one main swf file ?
    I have main file where everything else is driven by
    loadMovie. Since my main swf is going to be published as exe, and
    there wont be a lot of swf files laying around, it would be great
    if all sub-swf files could be inside that exe file.
    Is it possible ? If yes, how ?

    Yes you can, by using some 3rd party projector creation tool,
    like:
    Zinc,
    Swish,
    Jugglor,
    SWF Studio, and
    a
    lot more...

Maybe you are looking for