CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Wiki

Register Blogs Community New Posts Updated Threads Search

Like Tree35Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2013, 17:46
Default
  #141
Administrator
 
pete's Avatar
 
Peter Jones
Join Date: Jan 2009
Posts: 682
Rep Power: 10
pete will become famous soon enough
This error is a common problem on overloaded servers running mysql. If the server has enough memory and is not overloaded you can try to increase the number of available connection in /etc/my.cnf. At CFD Online we use "max_connections=256". The default is 100 or 151 depending on what mysql version you run.
pete is offline   Reply With Quote

Old   April 6, 2013, 06:19
Default
  #142
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by pete View Post
This error is a common problem on overloaded servers running mysql. If the server has enough memory and is not overloaded you can try to increase the number of available connection in /etc/my.cnf. At CFD Online we use "max_connections=256". The default is 100 or 151 depending on what mysql version you run.
OK. I'll extend that. The reason why I didn't do it yet was that according to my logs the Wiki has nowhere near the number of users CFD Online has (current setting is something above 100)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 6, 2013, 15:28
Default
  #143
Administrator
 
pete's Avatar
 
Peter Jones
Join Date: Jan 2009
Posts: 682
Rep Power: 10
pete will become famous soon enough
If the server needs more connections due to non-intermittent memory or overload problems then increasing the max number of connections will just increase the risk of a complete server crash.
pete is offline   Reply With Quote

Old   April 9, 2013, 14:11
Default
  #144
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
But I even got the page about the technical difficulties... the one with:
Hi Bruno!

Is it possible that this always happened around midnight. I think I stumbled upon the problem when updating the Wiki: as a coward I usually run the usual backup-script before I start updating the Wiki-software. During the running of that script I got the same error message you got and the server started to slow down.

Turns out that mysqldump does two things per default:
- lock all tables of the database (that's why you're seeing this error)
- assume that you have 1Gig of memory to buffer the output (that MAY be the cause of the memory problems I've been seeing)

The script is rather old and it never occurred to me that this might be the problem (in the good old days when the database was smaller it didn't block long enough for anyone to notice)

Now I've modified the database engine so that the dump can be done without blocking and reduced the buffer size. Script is already running faster (the large buffer size seems to have forced the machine into swapping)

Let me know if you see the problem again (the reason why I asked about midnight is that the script runs at that time)

Bernhard
wyldckat likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 21, 2013, 16:10
Default
  #145
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

I happened to go through this list on the Wiki:

http://openfoamwiki.net/index.php/Ca...eaturedArticle

and I wondered, if it would be better to remove "Contrib groovyBC" and "Contrib funkySetFields" and replace them by one article on swak4Foam?

Maybe this will remove some of the questions concerning the individual and obsolete development lines for these two tools.

Kind regards

Niels
ngj is offline   Reply With Quote

Old   April 22, 2013, 08:25
Default
  #146
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ngj View Post
Hi

I happened to go through this list on the Wiki:

http://openfoamwiki.net/index.php/Ca...eaturedArticle

and I wondered, if it would be better to remove "Contrib groovyBC" and "Contrib funkySetFields" and replace them by one article on swak4Foam?

Maybe this will remove some of the questions concerning the individual and obsolete development lines for these two tools.
That's a good point. I think in the beginning I didn't make swak a "featured article" because I wasn't confident enough that it is really a worthy replacement for the two, but as both haven't been developed on their own for a long time this is right. I changed that according to your suggestion

I think that the list of featured articles could stand an extension. So if anyone has a suggestion for addition raise your arm (or even better: make it a featured article by editing it according to http://openfoamwiki.net/index.php/Wi...the_front_page The worst that can happen is that I modify the edit)

For instance, Niels: if you feel that wave2foam is sufficiently stable to be featured modify your article according to the instructions (just make sure that only an abstract is NOT in <noinclude>-tags as it would otherwise mess up the front-page
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 22, 2013, 09:32
Default
  #147
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Bernhard,

Well, that is a good idea, besides the fact that I might not be the right person to ask, if my own work is stable and useful)

/ Niels
ngj is offline   Reply With Quote

Old   May 3, 2013, 18:18
Default
  #148
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Bernhard,

Quote:
Originally Posted by gschaider View Post
Let me know if you see the problem again (the reason why I asked about midnight is that the script runs at that time)
After almost a month later, I managed to accidentally hit the preview button on a page I was editing at around 23h00 WEST.
It took about a minute to recover and be back to full speed. There was no message about SQL nor did Firefox complain about a busy website or something like that
So, at least for now, so far so good!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 4, 2013, 07:32
Default
  #149
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Hi Bernhard,


After almost a month later, I managed to accidentally hit the preview button on a page I was editing at around 23h00 WEST.
It took about a minute to recover and be back to full speed. There was no message about SQL nor did Firefox complain about a busy website or something like that
So, at least for now, so far so good!

Best regards,
Bruno
Great. Your signature tune from now on will be "The Midnight Poster" (sing to the melody of "The midnight rambler" of the Rolling Stones)

The unresponsiveness for one minute is unfortunate but as it "only" affects posters I'd go with this chart: http://xkcd.com/1205/ (Shave of 1minute. Assume it happens once a week ... which is much. Then I'll look into spending the 4h)
wyldckat likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   May 15, 2013, 19:43
Default
  #150
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Just a quick rant: is there any plug-in/add-on for mediawiki for "Neon signs"?

Because (some) people seem to keep getting lost around groovyBC and swak4Foam's wiki pages
__________________
wyldckat is offline   Reply With Quote

Old   May 16, 2013, 05:17
Default
  #151
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Just a quick rant: is there any plug-in/add-on for mediawiki for "Neon signs"?

Because (some) people seem to keep getting lost around groovyBC and swak4Foam's wiki pages
I feel your pain

Well yeah. As the front-page shows you can do HTML inside the Wiki-pages. But I rarely do that. A Wiki should be about writing and reading not designing and looking
wyldckat likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 19, 2013, 09:17
Default Wiki-software updated
  #152
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
The software on the Wiki has been updated and I did some minor changes:
- possibility to have threaded discussions on the talk pages
- because of the amount of dummy users that were created by spam-bots now users have to be approved by a human (sorry)

For details see:
http://openfoamwiki.net/index.php/Ne...ed_19July_2013
wyldckat likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   August 25, 2013, 03:09
Default
  #153
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Bernhard and Bruno,

I have a small request, namely whether it would be possible to get the

Code:
Template:Version2.2.1
producing an image as the other templates?

Thanks a lot for your time,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   August 25, 2013, 05:37
Default
  #154
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Niels,

Done! The template is up, as well as the respective category and update to the main 2.2 category.

For reference, the image generation kit is available here: http://openfoamwiki.net/index.php/Help_talk:Editing

Best regards,
Bruno
ngj likes this.
__________________
wyldckat is offline   Reply With Quote

Old   August 25, 2013, 06:02
Default
  #155
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Thank you very much. It looks a lot better now (http://openfoamwiki.net/index.php/Co...Versions_of_OF).

Have a nice Sunday,

Niels
wyldckat likes this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 15, 2013, 03:55
Default
  #156
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning,

This morning I noticed that I am not requested to give an answer to a control question, when I am updating a wiki-page. Is this a deliberate change after the approval of the users was made manual?

Kind regards

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 15, 2013, 04:45
Default
  #157
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Niels,

Quoting from the OpenFOAMWiki.net official twitter account: https://twitter.com/ofwiki/status/377800064842080256
Quote:
Disabled the question ("What is the name of ..") during editing. Prepared to switch it on again if the Spambots strike #lessAnnoying
It's also shown on section 11, on the main page

As for the sentence "if the Spambots strike", I'm guessing that is because Bernhard as no way to be 100% certain of which users were created by bots and which weren't.

Best regards,
Bruno
ngj likes this.
__________________
wyldckat is offline   Reply With Quote

Old   September 15, 2013, 05:46
Default
  #158
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Hi Niels,

Quoting from the OpenFOAMWiki.net official twitter account: https://twitter.com/ofwiki/status/377800064842080256
It's also shown on section 11, on the main page

As for the sentence "if the Spambots strike", I'm guessing that is because Bernhard as no way to be 100% certain of which users were created by bots and which weren't.
The thing is: For a long time I resisted the idea to verify the new accounts by a human (==me) before enabling them because I felt that this puts too high a threshold on new users because if I'm not near a computer for a couple of days (happens) then people might loose motivation if they can't edit immediately. A couple of months ago I enabled this nevertheless. People now have to provide a short description of what they do with OpenFOAM and if it makes sense and is not copy/pasted I enable them. Since then I had no new spam users. I was toying with removing the question but said "Naaah. Let's be sure". This week I tried to revise the system with which people can add news and events with forms. The thing is that the system that asks the verification question messes up the forms (data gets lost etc) so I decided to disable it for now. But as Bruno says: I'm not 100% sure if there are still "sleeping" spam users or if some security hole in the Wiki-software allows new creations of some. If that problem resurfaces I'll reenable that question.

@Niels: if you're missing that question than I can try to reenable it just for you
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   September 15, 2013, 06:04
Default
  #159
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Dear Bernhard and Bruno,

Thanks for the explanation. No, I do not miss it per say, but I will not complain, if you had to re-activate it on my account, if you are in doubt that I am actually a human being

Have a nice Sunday,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   September 16, 2013, 15:30
Default
  #160
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ngj View Post
Dear Bernhard and Bruno,

Thanks for the explanation. No, I do not miss it per say, but I will not complain, if you had to re-activate it on my account, if you are in doubt that I am actually a human being
You're a friendly bot. So no verification for you

I'm just waiting for people to say "You young people don't know how good you have it. In the good old days we had to answer questions - difficult questions - to edit on the Wiki. The standard on the MessageBoard was much higher then and we did DNS with 10 cells ... in our head ... in the snow ... and we edited our sources with one hand tied behind our back ... on the good days ... on the others we did it with our nose and no hands ... and real men only used blockMesh ... the women too ...."
ngj likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: https://www.cfd-online.com/Forums/openfoam/60855-wiki.html
Posted By For Type Date
OpenFOAMWiki This thread Refback July 16, 2012 04:06

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiki iyer_arvind OpenFOAM Running, Solving & CFD 1 July 26, 2007 02:12
Wiki Dan Main CFD Forum 1 February 4, 2007 18:14
CFD-Wiki - We Need Your Help! Jonas Larsson Main CFD Forum 5 May 12, 2006 08:25
CFD Wiki - We Need More Help! Jonas Larsson Main CFD Forum 0 September 26, 2005 08:11
CFD Wiki - We Need More Help Jonas Larsson Main CFD Forum 13 September 13, 2005 17:36


All times are GMT -4. The time now is 18:27.