Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-10 Thread Vishal Kakapuri
i also tried to access - https://dizzyg.library.vcu.edu/browse-title;
is dead slow..
I wanted to know one thing - why do you need https for everything..
even for links to pdf..if they are to be accessed public.

Can't you have something which uses HTTPS only for data transfer pages
or request paremeters sent across.



On Thu, Sep 3, 2009 at 10:18 PM, susan teague-rector setea...@vcu.edu wrote:
 Hi All,
 I migrated my database, assetstore  application to a new server this
 morning (after doing a test migration last week)
 All seems great until I click on a pdf (or other file) in a record. The
 server just sits and spins and the file never opens.
 I've migrated to a new linux server with twice the amount of memory, so
 it seems like memory shouldn't be the problem.
 I'm not seeing anything at all in the error logs.
 I'm still running Dspace 1.4.1

 Does anyone have any ideas what may have happened?

 Thanks so much,

 Susan


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-10 Thread susan teague-rector
Hi Vishal,

We don't necessarily need to use https: for everything - it was easier 
to set up with mod_jk

Has anyone set their instance up with http and then used https only for 
authentication?

Thanks,
Susan

Vishal Kakapuri wrote:
 i also tried to access - https://dizzyg.library.vcu.edu/browse-title;
 is dead slow..
 I wanted to know one thing - why do you need https for everything..
 even for links to pdf..if they are to be accessed public.

 Can't you have something which uses HTTPS only for data transfer pages
 or request paremeters sent across.



 On Thu, Sep 3, 2009 at 10:18 PM, susan teague-rector setea...@vcu.edu wrote:
   
 Hi All,
 I migrated my database, assetstore  application to a new server this
 morning (after doing a test migration last week)
 All seems great until I click on a pdf (or other file) in a record. The
 server just sits and spins and the file never opens.
 I've migrated to a new linux server with twice the amount of memory, so
 it seems like memory shouldn't be the problem.
 I'm not seeing anything at all in the error logs.
 I'm still running Dspace 1.4.1

 Does anyone have any ideas what may have happened?

 Thanks so much,

 Susan


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-10 Thread Stuart Lewis
Hi Susan,

 We don't necessarily need to use https: for everything - it was easier
 to set up with mod_jk

 Has anyone set their instance up with http and then used https only  
 for
 authentication?

You can achieve this using mod_rewrite, using rules such as:

## SSL Virtual Host Context
VirtualHost 1.2.3.4:443
...

RewriteEngine on

RewriteCond   %{REQUEST_URI}!^/password-login.*
RewriteRule   ^/(.*)
http://%{HTTP_HOST}/$1 [L,R]

/VirtualHost

## Non-secure Virtual Host Context
VirtualHost 1.2.3.4:80
...

RewriteEngine on

RewriteCond   %{REQUEST_URI}^/password-login.*
RewriteRule   ^/(.*)
https://%{HTTP_HOST}:443/$1 [L,R]

/VirtualHost

I hope that helps,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-09 Thread susan teague-rector
Thanks Van - will chekc on it
Thanks so much
Susan

Federico Lazcano wrote:
 El Tuesday 08 September 2009 21:29:28 Van Ly escribió:
   
 On 09/09/2009, at 2:19 AM, susan teague rector wrote:
 
 For example, here's a couple of larger files (although they're
 still on
 ~24 mb) on our production instance:
 https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
 These files never open, but rather just spin.
   
 Hi Susan,

 I am able to slowly fetch all that file and it renders partially as
 it downloads. You may want to check the local network interface is OK
 or too busy or if there is network traffic throttling deliberately
 slowing transfers somewhere in-between.

 Best wishes,

 Van Ly
 vly at usyd dot edu dot au


 

 Check for errors in the ethernet interface, for example

 la...@dev:~$ ifconfig
 eth0  Link encap:Ethernet  HWaddr 00:e0:4c:84:8e:27
   inet addr:200.XX.XXX.XX  Bcast:200.XX.XXX.XX  Mask:255.255.255.224
   inet6 addr: fe80::2e0:4cff:fe84:8e27/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:2670273 errors:62604 dropped:0 overruns:0 frame:0
   TX packets:1238207 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:424462774 (404.7 MB)  TX bytes:285456371 (272.2 MB)
   Interrupt:11 Base address:0xec00

 is really really slow. 

 We're planning to check the network interface card.









   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-08 Thread susan teague rector
Hi all,

Well, my problem is bigger than expected as the files aren't loading 
quickly on either production or test.
Although we're still checking out university networking issues, I'm 
still curious to see if anyone has had trouble opening larger files 
through the Dspace app.
For example, here's a couple of larger files (although they're still on 
~24 mb) on our production instance: 
https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
These files never open, but rather just spin. I get no indication in any 
of the logs that there is an issue.
We're using tomcat/apache jk connector, running dspace 1.4.1 on linux

thank you!!


Claudia Jürgen wrote:
 Hi Susan,

 does the newly copied assetstore and its contents got the proper 
 rights i.e. does it belong to the dpace user?
 And does your dspace.cfg point to this assetstore?

 Claudia


 susan teague-rector schrieb:
 Hi all,
 I noticed someone else asked a similar question to mine 
 (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html)
  
 recently.

 We're still stuck - we've tried to copy the assetstore over 2 times 
 today to our new server to no avail. I've also tried to reindex, but 
 that doesn't seem to affect my ability to view the files.

 Thanks in advance,

 Susan

 susan teague-rector wrote:
 Hi All,
 I migrated my database, assetstore  application to a new server 
 this morning (after doing a test migration last week)
 All seems great until I click on a pdf (or other file) in a record. 
 The server just sits and spins and the file never opens.
 I've migrated to a new linux server with twice the amount of memory, 
 so it seems like memory shouldn't be the problem.
 I'm not seeing anything at all in the error logs.
 I'm still running Dspace 1.4.1

 Does anyone have any ideas what may have happened?

 Thanks so much,

 Susan


 --
  

 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day trial. Simplify your report design, integration and 
 deployment - and focus on what you do best, core application coding. 
 Discover what's new with Crystal Reports now.  
 http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


 --
  

 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day trial. Simplify your report design, integration and deployment 
 - and focus on what you do best, core application coding. Discover 
 what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-08 Thread Van Ly

On 09/09/2009, at 2:19 AM, susan teague rector wrote:

 For example, here's a couple of larger files (although they're  
 still on
 ~24 mb) on our production instance:
 https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
 These files never open, but rather just spin.


Hi Susan,

I am able to slowly fetch all that file and it renders partially as  
it downloads. You may want to check the local network interface is OK  
or too busy or if there is network traffic throttling deliberately  
slowing transfers somewhere in-between.

Best wishes,

Van Ly
vly at usyd dot edu dot au





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-08 Thread Federico Lazcano
El Tuesday 08 September 2009 21:29:28 Van Ly escribió:
 On 09/09/2009, at 2:19 AM, susan teague rector wrote:
  For example, here's a couple of larger files (although they're
  still on
  ~24 mb) on our production instance:
  https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf
  These files never open, but rather just spin.

 Hi Susan,

 I am able to slowly fetch all that file and it renders partially as
 it downloads. You may want to check the local network interface is OK
 or too busy or if there is network traffic throttling deliberately
 slowing transfers somewhere in-between.

 Best wishes,

 Van Ly
 vly at usyd dot edu dot au



Check for errors in the ethernet interface, for example

la...@dev:~$ ifconfig
eth0  Link encap:Ethernet  HWaddr 00:e0:4c:84:8e:27
  inet addr:200.XX.XXX.XX  Bcast:200.XX.XXX.XX  Mask:255.255.255.224
  inet6 addr: fe80::2e0:4cff:fe84:8e27/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:2670273 errors:62604 dropped:0 overruns:0 frame:0
  TX packets:1238207 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:424462774 (404.7 MB)  TX bytes:285456371 (272.2 MB)
  Interrupt:11 Base address:0xec00

is really really slow. 

We're planning to check the network interface card.









-- 

Federico Lazcano

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-04 Thread Claudia Jürgen

Hi Susan,

does the newly copied assetstore and its contents got the proper rights 
i.e. does it belong to the dpace user?

And does your dspace.cfg point to this assetstore?

Claudia


susan teague-rector schrieb:

Hi all,
I noticed someone else asked a similar question to mine 
(http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html) 
recently.


We're still stuck - we've tried to copy the assetstore over 2 times 
today to our new server to no avail. I've also tried to reindex, but 
that doesn't seem to affect my ability to view the files.


Thanks in advance,

Susan

susan teague-rector wrote:

Hi All,
I migrated my database, assetstore  application to a new server this 
morning (after doing a test migration last week)
All seems great until I click on a pdf (or other file) in a record. The 
server just sits and spins and the file never opens.
I've migrated to a new linux server with twice the amount of memory, so 
it seems like memory shouldn't be the problem.

I'm not seeing anything at all in the error logs.
I'm still running Dspace 1.4.1

Does anyone have any ideas what may have happened?

Thanks so much,

Susan


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
attachment: Claudia_Juergen.vcf--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-04 Thread susan teague-rector
hi Claudia,
It does have the proper rights - checked that yesterday eve.

My dspace.cfg points there

At this point, we think we may have a network issue, but we're still 
looking into that.

thanks so much for your help and let me know if you have other ideas 
about what it could be. Like I said, we've moved to a much larger server 
and I thought that would increase the load time of the files. I've also 
increased the JAVA_OPTS memory to a gig...

thanks!

Claudia Jürgen wrote:
 Hi Susan,

 does the newly copied assetstore and its contents got the proper 
 rights i.e. does it belong to the dpace user?
 And does your dspace.cfg point to this assetstore?

 Claudia


 susan teague-rector schrieb:
 Hi all,
 I noticed someone else asked a similar question to mine 
 (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html)
  
 recently.

 We're still stuck - we've tried to copy the assetstore over 2 times 
 today to our new server to no avail. I've also tried to reindex, but 
 that doesn't seem to affect my ability to view the files.

 Thanks in advance,

 Susan

 susan teague-rector wrote:
 Hi All,
 I migrated my database, assetstore  application to a new server 
 this morning (after doing a test migration last week)
 All seems great until I click on a pdf (or other file) in a record. 
 The server just sits and spins and the file never opens.
 I've migrated to a new linux server with twice the amount of memory, 
 so it seems like memory shouldn't be the problem.
 I'm not seeing anything at all in the error logs.
 I'm still running Dspace 1.4.1

 Does anyone have any ideas what may have happened?

 Thanks so much,

 Susan


 --
  

 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day trial. Simplify your report design, integration and 
 deployment - and focus on what you do best, core application coding. 
 Discover what's new with Crystal Reports now.  
 http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


 --
  

 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 
 30-Day trial. Simplify your report design, integration and deployment 
 - and focus on what you do best, core application coding. Discover 
 what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] help! migration causes slow loading of files

2009-09-03 Thread susan teague-rector
Hi All,
I migrated my database, assetstore  application to a new server this 
morning (after doing a test migration last week)
All seems great until I click on a pdf (or other file) in a record. The 
server just sits and spins and the file never opens.
I've migrated to a new linux server with twice the amount of memory, so 
it seems like memory shouldn't be the problem.
I'm not seeing anything at all in the error logs.
I'm still running Dspace 1.4.1

Does anyone have any ideas what may have happened?

Thanks so much,

Susan


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-03 Thread susan teague-rector
Hi all,
I noticed someone else asked a similar question to mine 
(http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html) 
recently.

We're still stuck - we've tried to copy the assetstore over 2 times 
today to our new server to no avail. I've also tried to reindex, but 
that doesn't seem to affect my ability to view the files.

Thanks in advance,

Susan

susan teague-rector wrote:
 Hi All,
 I migrated my database, assetstore  application to a new server this 
 morning (after doing a test migration last week)
 All seems great until I click on a pdf (or other file) in a record. The 
 server just sits and spins and the file never opens.
 I've migrated to a new linux server with twice the amount of memory, so 
 it seems like memory shouldn't be the problem.
 I'm not seeing anything at all in the error logs.
 I'm still running Dspace 1.4.1

 Does anyone have any ideas what may have happened?

 Thanks so much,

 Susan


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] help! migration causes slow loading of files

2009-09-03 Thread Van Ly

On 04/09/2009, at 6:08 AM, susan teague-rector wrote:

 All seems great until I click on a pdf (or other file) in a  
 record. The
 server just sits and spins and the file never opens.


Hi Susan,

Assuming you click on a link to the pdf file in a record, what is the  
resulting URL? Does the new server replace the old server on the same  
ip-address and host name? Does the URL include a host name you expect?

If it is a file system issue, you may want to find the tool to dump  
it's configured and running characteristics and confirm the  
combination is all OK. Try adding a pdf file directly to the file  
system to see if it will write as expected.

Also check the logs for the stack of components (e.g. tomcat) and  
that the account permissions for the application and files are OK.

You may also be able to use the mapping of the pdf file name to the  
assetstore's object path from details in the database and possibly  
look directly at that object on the file system to see if it is  
really there and available.

Best wishes,

Van Ly
vly at usyd dot edu dot au





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech