Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002332graphvizDotpublic2013-08-20 09:082013-08-20 10:21
ReporterEddy 
Assigned To 
PriorityhighSeverityblockReproducibilityrandom
StatusnewResolutionopen 
PlatformApacheOSWindows ServerOS Version2003
Summary0002332: Process dot.exe freeze when multi-users access to the graphs generated via Graphviz'plugin on MediaWiki
DescriptionHi ! We use Graphviz Mediawiki Plugin to generate graphs on our Wiki. There is no problem when only one user use the Wiki but if mutliple users click on links which generate graphs, process dot.exe accumulate on the machine (we can't kill them on task manager) and Apache is no more responding ! We must wait minutes before all dot.exe stop and Apache is Ok. Have you already seen that before ? Thanks for your help.
Steps To ReproduceMutli-users connection.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSIONGraphviz 2.28
Attached Files

- Relationships

-  Notes
User avatar (0000433)
ellson (administrator)
2013-08-20 09:49

dot is fairly compute-heavy. I don't know mediawiki, but for webdot I went to some lengths to cache the resulting images and avoid recomputation.

Are the users recomputing the *same* graphs when this lockup occurs? Perhaps some file-locking is needed, or some way of making the outputs unique for each apache process
User avatar (0000434)
Eddy (reporter)
2013-08-20 10:09

Thanks for your quick answer ! Exactly, Graphviz seems to recompute every time same graphs. However, three files are stored in a directory on the server (E:\(...)\www\Prod\Wiki\wiki_ga1\images\graphviz) : name---digraph+g (dot text), name---digraph+g.png (image) and name---digraph+g.map. We don't understand why Graphviz don't use these 'cache' files instead of recompute them. We have maybe forgotten a parameter when installing the plugin...
User avatar (0000435)
ellson (administrator)
2013-08-20 10:21

Perhaps you could check with the mediawiki folks that wrote their plugin?

How does it tell if the source .dot file is unchanged? Using timestamps might not be reliable. A md5sum of the source would be a good way.

- Issue History
Date Modified Username Field Change
2013-08-20 09:08 Eddy New Issue
2013-08-20 09:49 ellson Note Added: 0000433
2013-08-20 10:09 Eddy Note Added: 0000434
2013-08-20 10:21 ellson Note Added: 0000435


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker